Skip to content

Run in Docker

Ombro’s repository includes a compose.yaml that runs the server in a locked-down container, with an optional headless browser in a container of its own.

You need Docker and Git (to get Ombro’s repository, with its compose.yaml and Docker profiles).

Any of Docker Desktop, OrbStack or Colima will do. Colima is the lightest, and command-line only:

Terminal window
brew install colima docker docker-compose
colima start
  1. Get the repository and go into it:
    Terminal window
    git clone https://github.com/mrkrsl/ombro.git
    cd ombro
  2. On a machine with AppArmor (Ubuntu, Debian and Colima’s VM), load Ombro’s container profile once, or the container won’t start:
    Terminal window
    sudo cp docker/apparmor-ombro-container /etc/apparmor.d/ombro-container
    sudo apparmor_parser -r /etc/apparmor.d/ombro-container
    With Colima, put colima ssh -- before each sudo.
  3. Start Ombro, with the browser:
    Terminal window
    docker compose --profile browser up -d
    Leave out --profile browser to run without one: web search still works, but pages can’t be read.
  4. Find the pairing code:
    Terminal window
    docker compose logs ombro
  5. Connect the desktop app: by address to 127.0.0.1:8765 on the same machine, or over SSH from another (see below).

Check that job code can run:

Terminal window
docker compose exec ombro ombro sandbox

compose.yaml publishes the server on 127.0.0.1:8765 of the machine running Docker, with two volumes:

Volume Holds
ombro-settings Settings, keys and sign-ins (/home/ombro/.config/ombro)
ombro-files Jobs, chats and files (/home/ombro/Ombro)

The container restarts unless you stop it, and its server starts scheduled jobs itself.

Over SSH, with the container on the server’s 127.0.0.1: in the app, connect over SSH and choose Another port, or Ombro in Docker there, then give the port and the pairing code. (A container can’t pair by itself over SSH, because SSH reaches the host, not the container.)

Over Tailscale: publish the port on the machine’s Tailscale address instead. In compose.yaml, change the ports: line:

ports:
- "100.x.y.z:8765:8765" # your address, from `tailscale ip -4`

With Colima, start it once with colima start --network-host-addresses, since Docker runs in Colima’s VM, which otherwise doesn’t have that address.

  1. Mount the folder under /home/ombro/shared/ in compose.yaml (add :ro to keep it read-only):
    volumes:
    - ~/Documents/Brand:/home/ombro/shared/brand
  2. Restart: docker compose up -d.
  3. In the app, share /home/ombro/shared/brand in Settings › Folders.

Code a job writes runs in bubblewrap inside the container: no internet, only that job’s files, never Ombro’s keys. bubblewrap needs Linux namespaces, which Docker’s defaults block, so the container is set up for that and kept as tight as it can be:

  • Docker’s own seccomp and AppArmor profiles, with only what bubblewrap needs added (docker/seccomp.json, docker/apparmor-ombro-container).
  • No capabilities, no new privileges and a read-only system with /tmp in memory.
  • Ombro runs as an ordinary user inside it.

Remove the seccomp, apparmor and systempaths lines and everything else works, but jobs report that code can’t run.

The browser is a headless Chromium in its own container, which never sees Ombro’s keys or settings. It sits behind a small guard that lets it reach the public internet and nothing else: not the host, your network, Ombro’s server or a cloud’s metadata address. Each job gets a new, empty browser profile.

Terminal window
git pull
docker compose --profile browser up -d --build

Your settings and jobs are in the volumes, so they carry over.

  • The container won’t start, mentioning AppArmor. Load the profile (step 2 above) on the machine running Docker. A container can’t change its host, by design.
  • Colima doesn’t come back after the Mac restarts. Run brew services start colima so it starts at login. The container then comes back too.
  • docker compose isn’t found after removing Docker Desktop. Remove the "credsStore": "desktop" line from ~/.docker/config.json. With Homebrew’s docker-compose, add "cliPluginsExtraDirs": ["/opt/homebrew/lib/docker/cli-plugins"] there too.
  • A new pairing code. docker compose exec ombro ombro pair.