原文:[问题解决]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