Docker compose logs follow
Stream last 100 lines and follow a compose service
docker compose logs -f --tail=100 <service>
- tool
- docker46 commands
More docker commands
-
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
-
docker load < img.tar.gzImport an image exported with docker save