ZhangZhihui's Blog  

Adding user to the docker group can fix this issue:

zzh@ZZHPC:~$ sudo usermod -aG docker zzh
zzh@ZZHPC:~$ newgrp docker
zzh@ZZHPC:~$ docker run hello-world
Hello from Docker!

 

posted on 2023-09-14 09:25  ZhangZhihuiAAA  阅读(18)  评论(0)    收藏  举报