From the blog
Tech tips, tutorials, data crunching and blog posts in general.
Docker logs - Container, Compose, Swarm and Engine Logs
The easiest way to see Docker logs is to start containers in the foreground. There are many ways to see logs of detached containers, the easiest is to use the `docker container logs` command. With several handy options this command will save you hours.