This repository contains everything you need to run Octoprint in a docker environment.
git clone https://github.com/krobertson/docker-octoprint.git && cd docker-octoprint
# search for you 3D printer serial port (usually it's /dev/ttyUSB0 or /dev/ttyACM0)
ls /dev | grep tty
// edit the docker-compose file to set your 3D printer serial port
vi docker-compose.yml
docker-compose up -d
You can then go to http://localhost:5000
You can display the log using docker-compose logs -f
docker run -d -v ./config:/home/octoprint/.octoprint --device /dev/ttyACM0:/dev/ttyACM0 -p 5000:5000 --name octoprint bodrick/octoprint
Octoprint allows you to make timelapses using an IP webcam and ffmpeg. It is installed in /opt/ffmpeg