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.
Requirements
Section titled “Requirements”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:
brew install colima docker docker-composecolima startDocker Engine. On Ubuntu:
sudo apt install docker.io docker-compose-v2sudo usermod -aG docker $USER # then log out and in againInstall
Section titled “Install”- Get the repository and go into it:
Terminal window git clone https://github.com/mrkrsl/ombro.gitcd ombro - On a machine with AppArmor (Ubuntu, Debian and Colima’s VM), load Ombro’s container profile once, or the container won’t start:
With Colima, put
Terminal window sudo cp docker/apparmor-ombro-container /etc/apparmor.d/ombro-containersudo apparmor_parser -r /etc/apparmor.d/ombro-containercolima ssh --before eachsudo. - Start Ombro, with the browser:
Leave out
Terminal window docker compose --profile browser up -d--profile browserto run without one: web search still works, but pages can’t be read. - Find the pairing code:
Terminal window docker compose logs ombro - Connect the desktop app: by address to
127.0.0.1:8765on the same machine, or over SSH from another (see below).
Check that job code can run:
docker compose exec ombro ombro sandboxWhat’s in the box
Section titled “What’s in the box”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.
Reaching it from another computer
Section titled “Reaching it from another computer”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.
Sharing folders with jobs
Section titled “Sharing folders with jobs”- Mount the folder under
/home/ombro/shared/incompose.yaml(add:roto keep it read-only):volumes:- ~/Documents/Brand:/home/ombro/shared/brand - Restart:
docker compose up -d. - In the app, share
/home/ombro/shared/brandin Settings › Folders.
How it’s kept safe
Section titled “How it’s kept safe”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
/tmpin 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.
Updating
Section titled “Updating”git pulldocker compose --profile browser up -d --buildYour settings and jobs are in the volumes, so they carry over.
Troubleshooting
Section titled “Troubleshooting”- 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 colimaso it starts at login. The container then comes back too. docker composeisn’t found after removing Docker Desktop. Remove the"credsStore": "desktop"line from~/.docker/config.json. With Homebrew’sdocker-compose, add"cliPluginsExtraDirs": ["/opt/homebrew/lib/docker/cli-plugins"]there too.- A new pairing code.
docker compose exec ombro ombro pair.