-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment and Running
Nick Shorter edited this page May 15, 2022
·
1 revision
The production docker container is on Docker Hub!
- Install Docker
- To install Docker on your Raspberry pi.
- Follow instructions here
- Build the configuration, Go to the configuration part of the wiki
- Set your timezone, so the Time is correct
- I set mine in Central, US
sudo timedatectl set-timezone America/Chicago
- Run Docker Container
sudo docker run -v /etc/ohmyoled:/etc/ohmyoled/ -v /etc/localtime:/etc/localtime --privileged -d thefinaljoke/ohmyoled:latest
- Lets Break this down,
- -v /etc/ohmyoled:/etc/ohmyoled
This is to pass your configuration to the container. Requirement: the mount point inside of the container is /etc/ohmyoled
- -v /etc/localtime:/etc/localtime
Sets your timezone inside of your container
- --priviledged
Allows your container to access your GPIO Pins to display to the OLED Matrix
- -d
Detach the container from the terminal (run in the background)