Skip to content

A container for debugging other containers

Notifications You must be signed in to change notification settings

imcom/swiss-army-knife

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

swiss-army-knife

A container for debugging other containers. 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

About

A container for debugging other containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%