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