Command
Docker Start a Compose Project in the Background Command
The Docker command to start a compose project in the background is docker compose up -d.
Quick Answer
- Command
docker compose up -d
DockerCommand
Start a Compose Project in the Background
Type this command
docker compose up -d
Starts the services and hands your terminal back.
How to start a compose project in the background in Docker
- Open the terminal or command interface for Docker.
- Type docker compose up -d, replace any placeholders, and run it.
Docker Start a Compose Project in the Background Command
Run docker compose up -d.
Frequently asked questions
What is the Docker command to start a compose project in the background?
Run docker compose up -d.
Where do I type this Docker command?
Type it in the terminal or command-line interface used by Docker.
Does this Docker command work on Mac and Windows?
Yes. The command text is the same on both platforms when the tool is installed.
Official source · How we verify