how to check docker version on ubuntu code example Example: check if docker is installed ubuntu $ docker -v