Merge pull request #507 from justincormack/no-nginx-in-test

run tests with only alpine image, not nginx to make faster
This commit is contained in:
Justin Cormack 2016-09-14 00:14:59 +01:00 committed by GitHub
commit 3d67c0ef6c

View File

@ -6,8 +6,8 @@ docker info
docker ps docker ps
docker pull alpine docker pull alpine
docker run alpine true docker run alpine true
docker run --name nginx -d -p 80:80 nginx:alpine docker run --name webserver -d -p 80:80 alpine httpd -f -h /etc
wget -O - localhost wget -O - -q localhost/hostname
docker kill nginx docker kill webserver
docker rm nginx docker rm webserver
docker swarm init docker swarm init