Loading...

View stdout of docker container

https://docs.docker.com/compose/reference/logs/#logs

Show last 100 lines from image id dd81eb497f43

sudo docker logs --tail 100 dd81eb497f43

Follow the logs (short and long version)

# sudo docker logs -f dd81eb497f43
sudo docker logs --follow dd81eb497f43