23
05/23
部署docker+k3s+rancher2
一、先安装docker curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 二、安装rancher2 docker run -d --privileged --restart=unless-stopped -p 8080:80 -p 8443:443 -v /var/lib/rancher:/var/lib/rancher rancher/rancher:latest 访问dashboar: https://ip:8443 忽略证书错误 二、安装k3s curl -sfL https://docs.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn INSTALL_K3S_EXEC="--docker" sh -