安装docker后输入docker images 出现Cannot connect to the Docker daemon. Is the docker daemon running on this host?
是因为没有启动docker
输入service docker start 就可以启动docker了
开机自启docker命令如下:
systemctl enable docker
重启dokcer命令如下
systemctl restart docker
安装docker后输入docker images 出现Cannot connect to the Docker daemon. Is the docker daemon running on this host?
是因为没有启动docker
输入service docker start 就可以启动docker了
开机自启docker命令如下:
systemctl enable docker
重启dokcer命令如下
systemctl restart docker