Complete the command to start services defined in a Docker Compose file.
docker compose [1]The docker compose up command starts all services defined in the Docker Compose file.
Complete the command to stop and remove containers, networks, and volumes created by Docker Compose.
docker compose [1]The docker compose down command stops and removes containers, networks, and volumes created by docker compose up.
Fix the error in the command to start services in detached mode.
docker compose up [1]The -d flag runs containers in detached mode (in the background).
Fill both blanks to specify a custom Compose file and start services.
docker compose -f [1] [2]
The -f option specifies the Compose file, and up starts the services.
Fill both blanks to stop services, remove containers, and remove volumes.
docker compose [1] --remove-orphans [2]
docker compose down stops and removes containers. The --remove-orphans flag removes containers not defined in the Compose file. The --volumes flag removes volumes. The --force flag is not valid here but included as a distractor.