OctoPrint provides a web UI for controlling a 3D printer. This guide runs the container with data under ~/docker/octoprint, passes through /dev/ttyACM0, and exposes the web UI on port 8041.1

The original i12bretro video is kept through the YouTube shortcode; it is not downloaded or rehosted.2
Install Docker on Linux
Log into Linux and run:
| |
Check the current Docker documentation if the distribution has removed apt-key.1
Run the OctoPrint container
- Create the directory, set ownership, and use the source serial mapping:
| |
The real device may be /dev/ttyUSB0 or another name; do not change the command blindly. Confirm the host serial node first.1
- Open
http://DNSorIP:8041. - Click Next on the Start screen.
- Click Next on the Restore Backup screen.
- Create an account with a private username and password, then click Create Account.
- After creating the account, click Next.
- Enable or disable Connectivity Check, then click Next.
- Enable or disable Anonymous Usage Tracking, then click Next.
- Enable or disable Plugin Blacklist, then click Next.
- Click Next on the Webcam Wizard.
- Click Next on the Default Printer Profile.
- Click Next on Server Commands.
- Acknowledge the Finish screen messages and click Finish.
- Verify that OctoPrint appears and detects the printer.1
Safety checks
Check access to /dev/ttyACM0, docker logs octoprint, a test G-code upload, and the connection state before sending a real print. Do not expose an unauthenticated OctoPrint instance to the Internet; use a VPN or an authenticated reverse proxy.1
Source and video
- Original tutorial: i12bretro 0990
- Original video: Run OctoPrint - 3D Printer Web UI - in Docker
Sources
https://i12bretro.github.io/tutorials/0990.html — Run OctoPrint - 3D Printer Web UI - in Docker (i12bretro) ↩︎ ↩︎ ↩︎ ↩︎ ↩︎
https://www.youtube.com/watch?v=Q0b6gNJlZ2g — Run OctoPrint - 3D Printer Web UI - in Docker (official video) ↩︎


Góp Ý / Bình Luận / Đánh giá