how to check docker images content code example Example 1: how to check docker contents docker run -it image_name sh Example 2: how to list docker images docker image ls