環境:
vmware 安裝 CentOS-8.1.1911-x86_64-dvd1
問題現象:
執行docker version 命令後提示:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
現象截圖:
解決方案:
執行如下兩行命令
systemctl daemon-reload
systemctl restart docker.service
處理後執行命令截圖: