/docker-octoprint

Docker Containers for OctoPrint and mjpg-streamer

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

OctoPrint-docker Build Status

This repository contains everything you need to run Octoprint in a docker environment.

Getting started

git clone https://github.com/OctoPrint/docker.git octoprint-docker && cd octoprint-docker

# 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

Without docker-compose

docker run -d -v --device /dev/ttyACM0:/dev/ttyACM0 -p 5000:5000 --name octoprint octoprint/octoprint

Additional tools

FFMPEG

Octoprint allows you to make timelapses using an IP webcam and ffmpeg. It is installed in /opt/ffmpeg

Cura Engine

Octoprint allows you to import .STL files and slice them directly in the application. For this you need to upload the profiles that you want to use (you can export them from Cura). Cura Engine is installed in /opt/cura/CuraEngine.