Last active
August 31, 2015 23:29
-
-
Save musghost/ed03d9aa7e6421a6e1fc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERR=0 | |
IP=$(sudo docker inspect -f jenkins_identidock_1) | |
CODE=$(curl -sL -w "%{http_code}" $IP:9090 -o /dev/null) || true if [ $CODE -ne 200 ]; then | |
echo "Site returned " $CODE | |
ERR=1 fi | |
#Pull down the system | |
sudo docker-compose $COMPOSE_ARGS stop | |
sudo docker-compose $COMPOSE_ARGS rm --force -v | |
return $ERR | |
docker run -d --name jenkins -p 8080:8080 --volumes-from jenkins-data -v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):/usr/bin/docker identijenk | |
https://docs.google.com/presentation/d/1ffiZECiCO_dub78PB-UdATeYu12JRIXoRBj0w2nRdcE/edit#slide=id.g65d7fa6fa_0_28 | |
https://docs.google.com/presentation/d/1A3DfPOkVjfYkg4I1aLRRPI3EP0StJ8XEjuDmxyEHvfo/edit#slide=id.g59a05ea69_0_73 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment