1、下载(https://downloads.mesosphere.com/universe/public/local-universe.tar.gz)

2、导入镜像

docker load < local-universe.tar.gz

3、添加本地服务

$ cp dcos-local-universe-http.service /etc/systemd/system/dcos-local-universe-http.service
$ systemctl daemon-reload
$ systemctl start dcos-local-universe-http

4、添加本地服务

$ cp dcos-local-universe-registry.service /etc/systemd/system/dcos-local-universe-registry.service
$ systemctl daemon-reload
$ systemctl start dcos-local-universe-registry

5、移除内置库

$ dcos package repo remove Universe
$ dcos package repo remove Universe-1.7

6、添加本地库

$ dcos package repo add local-universe http://master.mesos:8082/repo

7、每一个节点添加SSL验证

$ mkdir -p /etc/docker/certs.d/master.mesos:5000
$ curl -o /etc/docker/certs.d/master.mesos:5000/ca.crt http://master.mesos:8082/certs/domain.crt
$ systemctl restart docker

当前universe仓库地址:http://dcosuniverse.marathon.l4lb.thisdcos.directory/repo

Mesosphere-Universe-01

Mesosphere-Universe-02

官方universe仓库地址:http://universe.dcos.io/


 


发表评论

OpenID

电子邮件地址不会被公开。 必填项已用*标注

Anonymous

电子邮件地址不会被公开。 必填项已用*标注