Sample docker image to test docker deployments
$ docker run --rm -ti -p 8080:80 --name hello registry.cn-beijing.aliyuncs.com/nunchuk/hello-world:latest
$ git clone https://github.com/docker/dockercloud-hello-world
$ cd dockercloud-hello-world
$ docker-compose up
$ docker service create --publish 8080:80 --name hello --replicas=3 --constraint "node.role != manager" registry.cn-beijing.aliyuncs.com/nunchuk/hello-world:latest
Point your browser to http://localhost:8080
- XinYe (nunchuk@live.com)