Ubuntu18.04下安装Docker【亲测可用】

1.跟着这个教程看看(看了很多都不跑不通,这个目前可用用)

docker精简版入门(ubuntu16.04+)安装(一) - 知乎

最后一步测试hello-world的时候, 会报这个错

 查阅了相关资料是权限的问题,我通过

sudo su提权再进行docker run hello-world就可以了,或者直接sudo docker run hello-world

参考资料

docker使用遇到问题Got permission denied while trying to connect to the Docker daemon socket_luffy5459的博客-CSDN博客

猜你喜欢

转载自blog.csdn.net/weixin_43332715/article/details/124414577