Single docker container log tail command

 As much as the title says - follow the logs of a single container by getting the container id first & pumping it to `docker logs`


docker logs -f $(echo `docker ps | awk '{print $1}' | grep -v "CONTAINER"`)

Comments

Popular posts from this blog

Alternatives to: "The quick brown fox jumps over the lazy dog."

Using keys like ALT+TAB in UltraVNC.

Command-line installation of OpenVPN