https://github.com/anqorithm/docker-oc-helm
This Docker image contains both OpenShift Command Line Interface (oc) and Helm package manager, making it useful for container orchestration and Kubernetes/OpenShift operations.
https://github.com/anqorithm/docker-oc-helm
cli docker helm oc openshift
Last synced: 2 months ago
JSON representation
This Docker image contains both OpenShift Command Line Interface (oc) and Helm package manager, making it useful for container orchestration and Kubernetes/OpenShift operations.
- Host: GitHub
- URL: https://github.com/anqorithm/docker-oc-helm
- Owner: anqorithm
- Created: 2025-01-20T08:00:31.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-01-20T14:04:18.000Z (12 months ago)
- Last Synced: 2025-06-12T03:04:30.152Z (7 months ago)
- Topics: cli, docker, helm, oc, openshift
- Language: Dockerfile
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Image with OpenShift CLI and Helm


This Docker image contains both OpenShift Command Line Interface (oc) and Helm package manager, making it useful for container orchestration and Kubernetes/OpenShift operations.
## Contents
- OpenShift CLI (oc)
- Helm
## Building the Image
```bash
docker build -t oc-helm-image -f docker/Dockerfile .
```
## Usage
### Running Single Commands
```bash
docker run --rm oc-helm-image oc version
docker run --rm oc-helm-image helm version
```
### Running as a Persistent Container
To keep the container running and execute commands inside it:
```bash
# Start the container in detached mode
docker run -d --name oc-helm-container oc-helm-image tail -f /dev/null
# Execute commands in the running container
docker exec oc-helm-container oc version
docker exec oc-helm-container helm version
# Stop and remove the container when done
docker stop oc-helm-container
docker rm oc-helm-container
```
## Tags
- `latest`: Contains the latest stable versions of oc and helm