Run with Docker

How to use run Stoobly with Docker

Prerequisite

Docker must be installed. Refer to the official Docker install instructions herearrow-up-right.

Running the Agent

Start the Docker container with the following command:

docker run \
    -p 8080:8080 \
    -p 4200:4200 \
    -v ~/.stoobly:/home/stoobly/.stoobly \
    stoobly/agent

The above command will:

  1. Download the stoobly/agent Docker image from Docker Hubarrow-up-right

  2. Start the proxy and UI server

  3. Expose the proxy on port 8080 and the UI on port 4200

circle-info
  • If the proxy port conflicts, configure it with the --proxy-port INTEGER option

  • If the UI port conflicts, configure it with --ui-port INTEGER option

circle-info

The command will also mount the ~/.stoobly data directory from your host as a data volume to persist changes. If you don't want to persist changes then remove the -v ~/.stoobly:/home/stoobly/.stoobly Docker option

After running the command, you should see output similar to this to indicate that the agent started up successfully:

Last updated