Sign inSign up

0x74696d/swiss-army-knife

By 0x74696d

Updated over 8 years ago

A container for debugging other containers

Image
0

1.0K

0x74696d/swiss-army-knife repository overview

A companion tool to my blog post https://blog.0x74696d.com/posts/debugging-python-containers-in-production/

ID= # container you want to debug
PID= # target process
docker run -it \
    --pid=container:$ID \
    --net=container:$ID \
    --cap-add sys_admin \
    --cap-add sys_ptrace \
    0x74696d/swiss-army-knife \
    /usr/share/bcc/tools/pythoncalls $PID

Tag summary

Content type

Image

Digest

Size

120.5 MB

Last updated

over 8 years ago

docker pull 0x74696d/swiss-army-knife