Get Docker
OpenTraderWorld ships as a set of Docker containers, and that is currently the only supported way to run it. A native install (running the Rust core, PostgreSQL and the frontend directly on the host) is possible if you know what you're doing, but it is not recommended or documented — Docker is prioritized on purpose:
- Non-intrusive — nothing is installed on your system except Docker itself. The app, database and proxy live in containers; your data lives in named volumes. Removing everything is
docker compose down -vplus deleting the folder. - Identical everywhere — the same stack runs unchanged on macOS, Linux and Windows.
- Quick to update — refresh the repo and pull the new images (see Updating); a broken container is recreated in seconds without touching your data.
If you already have Docker, jump straight to Installation.
macOS
Install Docker Desktop:
Download it from docker.com (pick Apple Silicon or Intel), open the
.dmgand drag Docker to Applications — or with Homebrew:bashbrew install --cask dockerLaunch Docker once from Applications and let it finish starting (whale icon in the menu bar stops animating).
Docker Compose is included.
Windows
Install Docker Desktop with the WSL 2 backend:
Requirements: Windows 10/11 64-bit with WSL 2 — enable it from an administrator PowerShell if needed:
wsl --install, then reboot.Install Docker Desktop from docker.com — or:
powershellwinget install Docker.DockerDesktopLaunch Docker Desktop and keep the default Use WSL 2 setting.
Run the OpenTraderWorld commands from any terminal (PowerShell or a WSL shell). Docker Compose is included.
Linux
On a desktop or a headless server, install Docker Engine (no Desktop needed). The convenience script works on all major distributions:
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER # run docker without sudo
newgrp docker # or log out and back in
sudo systemctl enable --now dockerPrefer your distribution's packages? See the official per-distro instructions. Recent Engine installs include the Compose plugin.
Verify
docker --version
docker compose version
docker run --rm hello-worldAll three succeed → you're ready.
Deploy OpenTraderWorld
One command, then follow the prompts:
curl -fsSL https://raw.githubusercontent.com/G-OTW/OpenTraderWorld/master/install.sh | bashThe full walkthrough (what the prompts mean, options, manual alternative, verifying the result) is on the Installation page.
Prebuilt images
The install pulls prebuilt images from Docker Hub — no build, no Rust/Node toolchain. Building from source stays available for development (install.sh --build, or ./setup.sh --build from a clone).