Sign inSign up

leodotcloud/swiss-army-knife

By leodotcloud

Updated 12 months ago

Image with all needed tools to debug problems in production!

Image
13

50M+

leodotcloud/swiss-army-knife repository overview

swiss-army-knife

Packing any application with a tiny/bare minimal base image sounds like an awesome/cool/intelligent idea, until things break and there are not tools inside the container to debug the problem at hand. This repo/docker image tries to solve this problem by having a different image with all possible tools needed to debug majority of the problems in a production environment. This image also includes a very small web application for testing/debugging purposes.

Dockerfile: https://github.com/leodotcloud/swiss-army-knife/blob/master/package/Dockerfile

Running
# Run and attach to the network namespace of the container to debug
docker run --name swiss-army-knife --net=container:${CONTAINER_ID_TO_DEBUG} -itd leodotcloud/swiss-army-knife
# Exec into the tools container
docker exec -it swiss-army-knife bash
# Show off your ninja skill!
tcpdump -i eth0 -vvv -nn -s0 -SS -XX

Tag summary

Content type

Image

Digest

Size

153.1 MB

Last updated

about 5 years ago

docker pull leodotcloud/swiss-army-knife