docker ps make note of container id of which logs you want docker inspect --format='{{.LogPath}}' YOUR CONTAINER ID make not of .log filename docker logs YOUR CONTAINER ID >& YOUR LOG FILENAME