Created
July 28, 2016 15:46
-
-
Save csrwng/3c1a073ffcfe2d9be1da88653ed49ead 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
#!/bin/bash | |
oc cluster down | |
docker rm -f bindmountproxy |
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
#!/bin/bash | |
IP=$(openshift start --print-ip) | |
docker run --privileged --net=host -v /var/run/docker.sock:/var/run/docker.sock -d --name=bindmountproxy cewong/bindmountproxy proxy ${IP}:2375 $(which openshift) | |
sleep 2 | |
docker_host=tcp://${IP}:2375 | |
DOCKER_HOST=${docker_host} oc cluster up -e DOCKER_HOST=${docker_host} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment