首页 > 技术文章 > 避免每次运行docker都输入sudo

bwjblogs 2020-11-25 11:33 原文

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

注销后重新登录Linux即可。

 

推荐阅读