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"`)
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
Post a Comment