docker run with logging to console code example Example: docker container logs docker container logs --details container-id