https://github.com/thesattiraju/cli-tools-docker
CLI tools distributed in docker images
https://github.com/thesattiraju/cli-tools-docker
cli docker kubernetes tools
Last synced: about 2 months ago
JSON representation
CLI tools distributed in docker images
- Host: GitHub
- URL: https://github.com/thesattiraju/cli-tools-docker
- Owner: thesattiraju
- Created: 2019-01-28T05:48:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-13T08:06:39.000Z (almost 7 years ago)
- Last Synced: 2025-07-28T07:36:54.924Z (12 months ago)
- Topics: cli, docker, kubernetes, tools
- Language: Dockerfile
- Homepage:
- Size: 34.2 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CLI Tools Docker based
Docker images with cli tools.
These images are based on alpine and pushed to docker hub registry under `clitools`.
Usage: `docker run clitools/`
Example: `docker run clitools/kubectl get svc`
### Prereq for kubernetes tools
You need to mount your kubeconfig to the container for fetching information from cluster.
Say your kubeconfig is in a directory /home/user/.kube, mount this directory to the container by adding this to your run command `-v /home/user/.kube:/tmp` and set the KUBECONFIG environment variable on the flow.
You need to add `-v /home/user/.kube:/tmp --env KUBECONFIG=/tmp/config` to your docker run commands