大菜鸡 发表于 2020-6-15 16:09

Centos7.2创建docker容器实列



1.curl -fsSL https://get.docker.com/ | sh
可能报:curl: (6) Could not resolve host: get.docker.com; Unknown error
说明DNS有问题,vim /etc/resolv.conf
      # Generated by NetworkManager

[*]nameserver 8.8.8.8
[*]
[*]// 修改后的DNS
[*]# Generated by NetworkManager
[*]nameserver 114.114.114.114
[*]nameserver 8.8.8.8


3.docker images 查看 可能报错
    Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

解决办法:
systemctl daemon-reload
service docker restart



剩下的安装什么容器自己解决

颠覆1 发表于 2020-6-15 22:00

老哥,这个百度能够解决吧,只是安装个docker,又不是K8S,istio
页: [1]
查看完整版本: Centos7.2创建docker容器实列