避免每次运行docker都输入sudo

在终端输入:
sudo usermod -a -G docker <yourUserName>

注销后重新登录Linux即可。

 

posted @ 2020-11-25 11:33  川尘  阅读(207)  评论(0编辑  收藏  举报
`