docker logs bash follow code example Example: docker logs follow docker logs --follow [container name]