Docker compose up detached
Build and start all services in background
docker compose up -d --build
- tool
- docker46 commands
More docker commands
-
docker compose logs -f --tail=100 <service>Stream last 100 lines and follow a compose service
-
docker compose down -vStop and remove containers, networks, and volumes
-
docker system df -vDetailed breakdown of disk usage per image, container, volume
-
docker exec -it -u root <container> bashEnter container as root even if default user is non-root
-
docker cp ./local-file.conf <container>:/etc/app/config.confInject a file into a running container without rebuild