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