https://github.com/danielwhatmuff/openshift-oadm-docker
Docker build for the OpenShift oadm admin CLI
https://github.com/danielwhatmuff/openshift-oadm-docker
Last synced: 5 months ago
JSON representation
Docker build for the OpenShift oadm admin CLI
- Host: GitHub
- URL: https://github.com/danielwhatmuff/openshift-oadm-docker
- Owner: danielwhatmuff
- Created: 2016-02-19T05:29:54.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-23T00:40:07.000Z (over 10 years ago)
- Last Synced: 2025-02-02T07:12:58.721Z (over 1 year ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Openshift oadm admin command line tool for interacting with Openshift 3
# Summary
- A Docker build for the oadm command line tool, used to control Openshift. For more info, see [Managing Nodes](https://docs.openshift.com/enterprise/3.0/admin_guide/manage_nodes.html)
# Requirements
- Docker :whale: - if you are on Mac, checkout the [Docker Toolbox](http://docs.docker.com/mac/step_one/)
# To build the Docker image
- Build the image using docker
```bash
$ docker build -t openshift-oadm-docker .
```
- Run the container
```bash
$ docker run -ti --rm openshift-oadm-docker oadm 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...)
```bash
$ alias oc='docker run --rm -ti openshift-oadm-docker oadm'
$ oadm version
```
# Alternatively, you can use the Docker Hub automated build
[](https://imagelayers.io/?images=danielwhatmuff/openshift-oadm-docker:latest 'Get your own badge on imagelayers.io')
```bash
$ docker pull danielwhatmuff/openshift-oadm-docker
```
### Contributing
File issues in GitHub to report bugs or issue a pull request to contribute.