docker put logs to file on running docker code example Example: docker container logs docker container logs --details container-id