CmdID

CmdID / Commands

docker-compose-up

Start and run Docker services defined in a Compose file. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Start all services defined in the docker-compose file

docker compose upIdentify

Start services in the background (detached mode)

docker compose up --detachIdentify
--detachDetached mode: Run containers in the background Docker Compose reference

Start services and rebuild images before starting

docker compose up --buildIdentify
--buildBuild images before starting containers Docker Compose reference

Start specific services only

docker compose up service1 service2 ...Identify

Start services with custom compose file

docker compose --file path/to/config upIdentify
--fileCompose configuration files Docker Compose reference

Start services and remove orphaned containers

docker compose up --remove-orphansIdentify
--remove-orphansRemove containers for services not defined in the Compose file Docker Compose reference

Start services with scaled instances

docker compose up --scale service=countIdentify
--scaleScale SERVICE to NUM instances. Docker Compose reference

Start services and show logs with timestamps

docker compose up --timestampsIdentify
--timestampsShow timestamps Docker Compose reference