解决命令行错误.
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
06d63b5b43
commit
18c227a097
|
@ -31,7 +31,7 @@ sudo gpasswd -a ${USER} docker
|
|||
sudo systemctl restart docker
|
||||
# 切换当前会话到新 group 或者重启 X 会话
|
||||
# 注意,这一步是必须的,否则因为 groups 命令获取到的是缓存的组信息,刚添加的组信息未能生效,所以 docker images 执行时同样有错。
|
||||
newgrp - docker
|
||||
newgrp docker
|
||||
OR
|
||||
pkill X
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue