标签:
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
标签:
原文地址:http://www.cnblogs.com/baxk/p/5251139.html