tmp shell
- Docker image: ar2pi/tmp-shell
Use
Run locally
docker run --rm -it ar2pi/tmp-shell /bin/bash
Run in an existing kubernetes pod
kubectl debug fooapp -it --image=ar2pi/tmp-shell --share-processes --copy-to=fooapp-debug
Run as a new kubernetes pod
kubectl run tmp-shell --restart=Never --rm -it --image ar2pi/tmp-shell -- /bin/bash
# OR
kubectl apply -f kubernetes/pod.yaml
Build
docker build -t ar2pi/tmp-shell --platform linux/amd64 .
docker push ar2pi/tmp-shell