Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/superbrothers/debug
My debugging container image
https://github.com/superbrothers/debug
container-image docker kubernetes
Last synced: about 1 month ago
JSON representation
My debugging container image
- Host: GitHub
- URL: https://github.com/superbrothers/debug
- Owner: superbrothers
- License: mit
- Created: 2021-01-19T01:54:46.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-18T10:42:01.000Z (2 months ago)
- Last Synced: 2024-09-18T14:19:32.120Z (2 months ago)
- Topics: container-image, docker, kubernetes
- Language: Dockerfile
- Homepage:
- Size: 306 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My debugging container image
This is a container image which has utilities for common debugging tasks.
You can see which utilities are included in a container image in [Dockerfile](Dockerfile).## Usage
### On your host
```
docker run -it --rm --net=host --pid=host ghcr.io/superbrothers/debug
```### Kubernetes
Run a debugging container in your Kubernetes cluster:
```
kubectl run --rm -it debug-$(date +%s) --image=ghcr.io/superbrothers/debug
```If you like the above command, it is useful to alias the command:
```
alias kdebug='kubectl run --rm -it debug-$(date +%s) --image=ghcr.io/superbrothers/debug'
```Add an ephemeral debugging container to an already running pod:
```
kubectl debug mypod -it --image=ghcr.io/superbrothers/debug
```## License
The MIT License