Press "Enter" to skip to content

Docker Logs

Andrew Pruski shows how simple it is to view Docker logs:

I have to run the docker ps command with the -a flag (to show all containers, the default is to only show running containers). Which means my container isn’t running, something’s gone wrong.

So to see what’s happening I can run the docker logs command to see what’s up: –

Click through for an example that Andrew ran through.