single line command to get docker image id code example Example: check docker images docker images [OPTIONS] [REPOSITORY[:TAG]]