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