Skip to main content

Docker Command Reference

A quick-reference page for Docker Compose commands used with Ignition projects. All commands run from the project directory - the folder that contains your docker-compose.yml file.

Gateway Lifecycle

CommandWhat it does
docker compose up -dStart all services in the background
docker compose downStop and remove containers; volume and data preserved
docker compose down -vStop containers and delete all volumes (full reset - destroys gateway data)
docker compose restart gatewayRestart the gateway service only; volume preserved
docker compose restartRestart all services
docker compose stopStop containers without removing them
docker compose startStart previously stopped containers
docker compose down && docker compose up -dFull stack restart; volume preserved

Logs and Inspection

CommandWhat it does
docker compose logs -f gatewayStream gateway logs live (Ctrl+C to stop)
docker compose logs gatewayPrint all gateway logs to stdout
docker compose logs gateway | grep -i errorFilter gateway logs for errors
docker compose logs --tail=100 gatewayPrint last 100 lines of gateway logs
docker compose psShow all services, their status, and exposed ports
docker compose exec gateway bashOpen a shell inside the running gateway container
docker compose exec db psql -U ignition ignitionOpen a psql session in the Ignition database
docker inspect ignition-dataInspect the ignition-data volume (path, driver, labels)

Image Management

CommandWhat it does
docker compose pullPull the latest version of all images (does not restart services)
docker compose pull gatewayPull only the Ignition gateway image
docker images | grep ignitionList locally cached Ignition images and their tags
docker rmi inductiveautomation/ignition:8.3.6Remove a specific image version from local cache
docker compose buildBuild any services with a local build: context (not applicable to the stock template)

Troubleshooting Quick-Reference

SymptomCommand to run
Gateway not startingdocker compose logs gateway
Port conflict on startupdocker compose ps to see what is running and which ports are bound
Traefik route not workingdocker compose ps - verify the proxy network is up and gateway is healthy
Gateway stuck in trial mode after resetVolume was deleted with -v; reactivate the license from Config > Licensing
Database connection errors in gateway logsdocker compose logs db - check if PostgreSQL passed its healthcheck
Bootstrap runs on every startSentinel file missing from volume; check bootstrap service logs
Designer cannot connectConfirm gateway is fully started - look for Gateway successfully started in logs