Docker Got permission denied while trying to connect to the Docker daemon socket at unix://


這是沒有權限的原因,先將自己加入docker組,然后在重新啟動就可以了,

下面參考來源:https://blog.csdn.net/weixin_40896352/article/details/80685220

Docker添加當前用戶組:

    1、sudo groupadd docker

    2、sudo gpasswd -a 當前登錄用戶名(allen)  docker

    3、重啟docker服務:service docker restart,再退出當前登錄,重新登錄

    4、重新登錄后輸入docker info ,即可完整顯示docker相關屬性信息
---------------------
作者:宇宙無敵帥超人
來源:CSDN
原文:https://blog.csdn.net/weixin_40896352/article/details/80685220
版權聲明:本文為博主原創文章,轉載請附上博文鏈接!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM