I encountered: ”Cannot connect to the docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?” in completing my work: $ docker ps Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Here is my program: