Start compose in the background
Builds and starts all services in the background
docker compose up -d --build
- tool
- docker46 commands
More docker commands
-
docker compose logs -f --tail=100 <service>Shows the last 100 lines of a compose service and keeps following
-
docker compose down -vStops and removes containers, networks and volumes
-
docker system df -vDetailed disk usage for each image, container and volume
-
docker exec -it -u root <container> bashOpens a root shell even if the container runs as a non-root user
-
docker cp ./local-file.conf <container>:/etc/app/config.confPuts a file into a running container without rebuilding the image