check docker version ubuntu code example Example 1: check docker version docker version Example 2: check if docker is installed ubuntu $ docker -v