Sign inSign up

rgroult2/openshift-oc-docker

By rgroult2

•Updated over 8 years ago

Docker openshift Client image

Image
0

958

rgroult2/openshift-oc-docker repository overview

⁠Openshift command line tool for interacting with Openshift 3

⁠Summary

⁠Requirements

⁠To build the Docker image

  • 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

⁠Alternatively, you can use the Docker Hub automated build

$ docker pull rgroult2/openshift-oc-docker
⁠Contributing

File issues in GitHub to report bugs or issue a pull request to contribute.

Tag summary

Content type

Image

Digest

Size

43.8 MB

Last updated

over 8 years ago

docker pull rgroult2/openshift-oc-docker