- A Docker build for the oc command line tool, used to control Openshift. For more info, see Get Started with the CLI
- Docker 🐳 - if you are on Mac, checkout the Docker Toolbox
- Build the image using docker
$ docker build -t openshift-oc-docker .
- Run the container
$ docker run -ti --rm openshift-oc-docker oc version
- Optionally add an alias to your local profile so you can run the container as a cli (you may also want to mount kube config or pass env vars...)
$ alias oc='docker run --rm -ti openshift-oc-docker oc'
$ oc version
$ docker pull danielwhatmuff/openshift-oc-docker
File issues in GitHub to report bugs or issue a pull request to contribute.