https://github.com/zq2599/blog_demosgit
內容:全部原創文章分類彙總及配套源碼,涉及Java、Docker、Kubernetes、DevOPS等;程序員
willzhao@ideapad:~$ docker images Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/json: dial unix /var/run/docker.sock: connect: permission denied
willzhao@ideapad:~$ sudo docker images [sudo] willzhao 的密碼: REPOSITORY TAG IMAGE ID CREATED SIZE bolingcavalry/probedemo 0.0.1 803f83e12d88 3 hours ago 508MB hello-world latest bf756fb1ae65 5 months ago 13.3kB openjdk 8u212-jdk-stretch 03b20c1fa768 11 months ago 488MB
sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo systemctl restart docker
sudo chmod a+rw /var/run/docker.sock
willzhao@ideapad:~$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE bolingcavalry/probedemo 0.0.1 803f83e12d88 4 hours ago 508MB hello-world latest bf756fb1ae65 5 months ago 13.3kB openjdk 8u212-jdk-stretch 03b20c1fa768 11 months ago 488MB
微信搜索「程序員欣宸」,我是欣宸,期待與您一同暢遊Java世界...
https://github.com/zq2599/blog_demos