docker run command and get logs code example Example: docker container logs docker container logs --details container-id