Run OctoPrint - 3D Printer Web UI - in Docker @i12bretro
Run OctoPrint - 3D Printer Web UI - in Docker  @i12bretro
Uploaded February 2025 | Updated November 2026, 5 hours ago
#OctoPrint #3DPrinting #Docker

Full steps can be found at i12bretro.github.io/tutorials/0990.html

--------------------------------------------------------------------
What is OctoPrint?
--------------------------------------------------------------------
OctoPrint provides a snappy web interface for controlling consumer 3D printers. - github.com/OctoPrint/OctoPrint
 
--------------------------------------------------------------------
Installing Docker
--------------------------------------------------------------------
   01. Log into the Linux host and run the following commands in a terminal window
         # install prerequisites
         sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
         # add docker gpg key
         curl -fsSL download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
         # add docker software repository
         sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
         # install docker
         sudo apt install docker-ce docker-compose containerd.io -y
         # enable and start docker service
         sudo systemctl enable docker && sudo systemctl start docker
         # add the current user to the docker group
         sudo usermod -aG docker $USER
         # reauthenticate for the new group membership to take effect
         su - $USER
 
--------------------------------------------------------------------
Running OctoPrint Container
--------------------------------------------------------------------
   01. Continue with the following commands in a terminal window
         # create working directories
         mkdir ~/docker/octoprint -p
         # set owner of docker directory
         sudo chown "$USER":"$USER" ~/docker -R
         # allow the container to write to working directories
         sudo chmod a+rwx -R ~/docker/octoprint
         # run the octoprint container
         docker run -d --name octoprint -v ~/docker/octoprint:/octoprint --device /dev/ttyACM0:/dev/ttyACM0 -p 8041:80 --restart=unless-stopped octoprint/octoprint
   02. Open a web browser and navigate to http://DNSorIP:8041
   03. Click Next on the Start screen
   04. Click Next on the Restore Backup screen
   05. Create an account my entering a Username and entering and confirming a password ≫ Click Create Account
   06. Once the account is created, click Next
   07. Choose to Enable or Disable the Connectivity Check ≫ Click Next
   08. Choose to Enable or Disable Anonymous Usage Tracking ≫ Click Next
   09. Choose to Enable or Disable the Plugin Blacklist ≫ Click Next
   10. Click Next on the Webcam Wizard screen
   11. Click Next on the Default Printer Profile screen
   12. Click Next on the Server Commands screen
   13. Acknowledge all the messages on the Finish screen ≫ Click Finish
   14. Welcome to OctoPrint
 
Documentation:  github.com/OctoPrint/octoprint-docker
 


### Connect with me and others ###
★ Discord: discord.com/invite/EzenvmSHW8
★ Reddit: reddit.com/r/i12bretro
★ Twitter: twitter.com/i12bretro
Run OctoPrint - 3D Printer Web UI - in DockerAmlogic S905x vs Amlogic S905x3Host Your Own draw.io - Visio Style Diagram Maker - On WindowsInstall BookStack - Documentation/Wiki Platform - on WindowsFlashing H310/H710 RAID Controllers to LSI IT ModeInstall LimeSurvey CE - Custom Survey Tool - on LinuxRun PhotoPrism - A Google Photos Alternative - In DockerInstall OctoPrint - 3D Printer Web UI - on WindowsDebian 12 Bookworm Install Guide Using VirtualBox (+Guest Additions)Running Homepage Application Dashboard on LinuxNmon - Terminal System Monitor for LinuxInstall Shinobi on Debian/Ubuntu - Open Source CCTV Solution
i12bretro |

Run OctoPrint - 3D Printer Web UI - in Docker

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER