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