k8s and docker install

centos6.3 k8s 集群搭建

Posted by ZC on August 15, 2020

centos 6.3, kernel 3.10 install docker and k8s

install docker

  • download builded docker-ce from url
  • unpack download file, use tar xf file
  • sudo cp docker/* /usr/bin
  • create config used by dockerd sudo vim /etc/docker/daemon.json ```json { “registry-mirrors”: [ “https://hub-mirror.c.163.com”, “https://registry.aliyuncs.com”, “https://registry.docker-cn.com”, “https://docker.mirrors.ustc.edu.cn” ], “hosts”: [ # “tcp://0.0.0.0:8777”, “unix:///var/run/docker.sock” ], “storage-driver”: “overlay” }

```

  • start docker sudo dockerd