check docker image version code example Example 1: check docker version docker version Example 2: check docker images docker images [OPTIONS] [REPOSITORY[:TAG]]