check if docker cli is installed command code example Example: check if docker is installed ubuntu $ docker -v