command to list all images in docker code example Example 1: how to list docker images docker image ls Example 2: list of docker images docker images