码迷,mamicode.com
首页 > 其他好文 > 详细

docker swarm compose

时间:2016-03-07 18:41:28      阅读:242      评论:0      收藏:0      [点我收藏+]

标签:

swarm

docker run swarm --help

 

 

compose

curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose # mv /usr/local/bin/docker-compose /usr/bin/docker-compose

 

 

私有仓库registry

sudo docker run -d -p 5000:5000 registry
docker run -d -p 5000:5000 -v /opt/data/registry:/tmp/registry registry

docker run -it -P \
-e ENV_DOCKER_REGISTRY_HOST=61.142.65.40 \
-e ENV_DOCKER_REGISTRY_PORT=5000 \
-e ENV_DOCKER_REGISTRY_USE_SSL=1 \
-e ENV_MODE_BROWSE_ONLY=true \
konradkleine/docker-registry-frontend

 

 

docker swarm compose

标签:

原文地址:http://www.cnblogs.com/baxk/p/5251139.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!