Skip to content

Instantly share code, notes, and snippets.

@csrwng
Created Jul 28, 2016
Embed
What would you like to do?
#!/bin/bash
oc cluster down
docker rm -f bindmountproxy
#!/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