报错“ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running? ”
解决办法:
- service docker status 确认是否运行
解决方法:
1、service docker status 确认是否运行
1、启动docker服务
service docker start
2、生成自启动服务
systemctl enable docker.service
3、查看服务状态,Active状态为:active(running)
systemctl status docker.service