因爲docker 都是root權限啓動的容器, 要給研發 登陸權限查看log,對於普通用,使用docker是會出現報錯,docker
使用 gpasswd 命令把用戶加入到docker組中code
gpasswd -a fengjian docker