docker test if image exists code example Example: check docker images docker images [OPTIONS] [REPOSITORY[:TAG]]