Setup Bambu Connect With Docker or Docker Compose

Bambu Connect Docker OctoEverywhere

OctoEverywhere’s Bambu Connect allows free and unlimited remote access, advanced AI failure detection, real-time printer notifications, P1 and A1 30 FPS webcam streaming, and more for all Bambu Lab 3D printers. The setup process is easy, even for non-technical users!

This post provides a complete guide to setting up Bambu Connect for Docker on any device that can run Docker, including Mac, Windows, Linux, and more.

New – OctoEverywhere Plugin Manager For Windows: If you’re installing the Elegoo Connect plugin on Windows, our new plugin manager app is much easier to use.

Bambu Connect can also be installed without Docker on a Raspberry Pi or any computer running a Debian Linux OS. If you prefer to use the command line interface (CLI) for installation, follow our CLI guide.

Install Docker Or Docker Compose

First, a quick overview of Docker. Docker allows programs to run in containers, which are fully isolated environments. It is a popular choice with consumer and enterprise users because it allows for quick, easy, and complete management of software running on a device. Adding new programs and services is super easy—removing them is just as easy!

Docker Compose is software that can be installed on top of Docker, which makes managing Docker containers easier. Using Docker Compose, you can set up and run Bambu Connect with a single file and one command!

To install Docker and Docker Compose, follow one of these guides:

Get Your Bambu Lab Printer Information

You need to retrieve some information from your printer to let OctoEverywhere’s Bambu Connect access it.

Get Your Printer’s Access Code

Your Bambu Lab 3D printer has an access code that allows local programs permission to communicate with it. Bambu Connect needs the access code to connect to the print, read the status, and send commands.

Use this webpage to find your Access Code based on your printer type.

Get Your Printer’s Serial Number

Like the Access Code, Bambu Connect needs your printer’s serial number to connect.

Use this webpage to find your Serial Number based on your printer type.

Get Your Printer’s IP Address

Finally, you must get your Bambu Lab 3D printer’s IP address for Bambu Connect. You can find the IP address using the printer’s screen in the network or settings section. The IP address will be four numbers separated by a period, like 192.168.1.5.

Use this webpage to find your printer’s IP address based on your printer type.

Setup Bambu Connect With Docker Compose

You’re ready to run OctoEverywhere’s Bambu Connect with Docker Compose! Simply follow these steps:

  1. Create a new folder on your computer for the Docker Compose file.
  2. In the folder, create a new file named docker-compose.yml
  3. Open your new docker-compose.yml file and add the following:
version: '2'
services:
  octoeverywhere-bambu-connect:
    image: octoeverywhere/octoeverywhere:latest
    environment:
        # Requried to set the docker conntainer in Bambu Connect mode.
      - COMPANION_MODE=bambu
        # https://octoeverywhere.com/s/access-code
      - ACCESS_CODE=XXXXXXXX
        # https://octoeverywhere.com/s/bambu-sn
      - SERIAL_NUMBER=XXXXXXXXXXXXXXX
        # https://octoeverywhere.com/s/bambu-ip
      - PRINTER_IP=XXX.XXX.XXX.XXX

    volumes:
      # This can also be an absolute path as well.
      - ./data:/data

In the docker-compose.yml file, update the environment section with the printer information you gathered above: the Access Code, Serial Number, and Printer IP. Use this example Bambu Connect docker compose config file for help if needed.

You can run multiple Bambu Connect docker containers for multiple Bambu Lab 3D printers on a single device! Just duplicate the services section of the docker compose file for each printer and add the printer’s unique information. See this example docker-compose for details.

Start Bambu Connect In Docker Compose

Now run docker compose! To do so, simply run:

docker compose up -d

You now have Bambu Connect up and running! To check everything is looking good, use the following command to check the logs:

docker compose logs

If the plugin started successfully, you will see the plugin’s startup logs and a block in the log with a link to connect your printer to your OctoEverywhere account.

Use the OctoEverywhere.com link in the docker logs to connect your Bambu Lab 3D printer to your OctoEverywhere account.

Done! 🎉

Your Bambu Lab 3D printer is connected to OctoEverywhere via Bambu Connect with docker compose! To update the Bambu Connect plugin, run docker compose pull and docker compose up docker will do the rest!

Welcome to the OctoEverywhere community. 🥰 Be sure to join our Discord server and introduce yourself!

Share this article
Shareable URL
Prev Post

Setup Bambu Connect For Bambu Lab 3D Printers On A Raspberry Pi

Next Post

Service Pricing Changes

Read next
OctoEverywhere Gadget Popup Image

Before You Go...

Be sure to check out OctoEverywhere's FREE & unlimited features!

🚀 Free & Unlimited Remote Access

🤖 Free & Unlimited AI Print Failure Detection

📲 Real-time Print Notifications Via Push, Telegram, Discord, & More

✨ Support for OctoPrint, Klipper, Crealitiy, Bambu Labs, Prusa, Elegoo OS, & More

🙌 Easy 20 Second Setup