Skip to content

Instantly share code, notes, and snippets.

@judavi
Last active April 13, 2018 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save judavi/2394c5b0a64f93796650a3db98f4f55b to your computer and use it in GitHub Desktop.
Save judavi/2394c5b0a64f93796650a3db98f4f55b to your computer and use it in GitHub Desktop.
Start Openshift in a Container
oc new-build https://github.com/judavi/docker-pipeseroni
oc new-build https://github.com/judavi/OpenshiftPlayground/
./oc start-build openshiftplayground --build-arg foo=leemon
oc edit buildconfigs/docker-pipeseroni
docker run -it --entrypoint /bin/bash -v /var/run/docker.sock:/var/run/docker.sock openshift/origin
Then inside the container
oc cluster up --skip-registry-check=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment