原文:[問題解決]Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock

寫了一個腳本讀取docker日志,發生報錯:Got permission denied while trying to connect to the Docker daemon socket at unix: var run docker.sock 有不少方法, 用sudo執行腳本 將用戶添加進docker用戶 但是這幾種方法對我來說不怎么適用: 經過搜索,發現 https: stackoverf ...

2019-08-15 15:03 0 504 推薦指數:

查看詳情

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