how to view logs in docker container code example Example: docker container logs docker container logs --details container-id