Rancher+k3s

安装 Docker

curl https://releases.rancher.com/install-docker/19.03.sh | sh

安装 Rancher

docker run -d --privileged -v /data/docker/rancher-server/var/lib/rancher/:/var/lib/rancher/ --restart=unless-stopped --name rancher-server -p 9080:80 -p 9443:443 rancher/rancher:stable

访问URL

http://URL:9080

Rancher 集成 K3s

参考

  • Rancher参考: (https://docs.rancher.cn/docs/rancher2.5/trending-topics/single-node-docker/_index/)

  • K3s参考: (https://docs.rancher.cn/docs/k3s/advanced/_index)

Last updated