Ref.: https://github.com/steinbrueckri/debug
9.7K
Sometimes in life you need a container in a K8s Cluster or on a Docker machine to debug some things. In this situation this image helps you alot! 🎉 🙌
For convinience you can use the shell you like the most, you can choose the following options:
docker build -t debug:local . -f src/Dockerfile
docker run -it --rm --entrypoint /bin/zsh
docker run -d --rm -p2222:22 -p8080:80 steinbrueckri/debug
kubectl run --namespace default -i --tty debug --image=steinbrueckri/debug --restart=Never --rm=true -- zsh
You can also alias that command within your .zshrcor .bashrc by adding the following line:
alias kdebug='kubectl run --namespace default -i --tty debug --image=steinbrueckri/debug --restart=Never --rm=true -- zsh'
NOTE: Feel free to replace ZSH with the shell of your choice. We have sh, Bash, ZSH, fish
TBD
SSHUSERS github users split by whitespaces for publickey deploymentFor testing the bats testing framework is used.
git clone https://github.com/steinbrueckri/debug.git
./tests/run.bats
Project use Semantic Versioning. We recommended to use the latest and specific release version.
In order to keep your project dependencies up to date you can watch this repository (Releases only) or use automatic tools like Dependabot.
fix(script): validate input file to prevent empty filesfeat(dockerimage): add open for multiple input filesContent type
Image
Digest
sha256:3037cb20c…
Size
376.3 MB
Last updated
7 days ago
docker pull steinbrueckri/debug