ubuntu rancher安装部署

ubuntu rancher安装部署

1.阿里云镜像加速

vim /etc/docker/daemon.json
{"registry-mirrors": ["https://xwx6wxd1.mirror.aliyuncs.com"]}

/etc/init.d/docker reload

其他镜像源:

https://registry.docker-cn.com

http://hub-mirror.c.163.com

https://3laho3y3.mirror.aliyuncs.com

http://f1361db2.m.daocloud.io

https://mirror.ccs.tencentyun.com

2.创建挂在目录,创建容器

mkdir -p /data/rancher_server/mysql
sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server:stable

3.查看启动

docker ps
docker logs -f fbac96ddb14c

rancher商店,阿里商店地址
https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
https://helm.elastic.co
https://git.rancher.io/helm3-charts

添加应用商店:

名称 地址 分支

library https://github.com/niusmallnan/rancher-catalog.git k8s-cn

community https://github.com/rancher/community-catalog.git master

harbor https://github.com/Balldog/harbor-ranchersetup.git master

相关链接

https://www.cnblogs.com/xiao987334176/p/11448248.html
https://www.cnblogs.com/YatHo/p/7851758.html

ubuntu rancher安装部署

上一篇:Ubuntu提示boot内存不足


下一篇:Linux中磁盘的管理(格式化、分区、挂载)