Projects STRLCPY cdebug Commits a2991727
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    README.md
    1 1  # cdebug - experimental container debugger
    2 2   
     3 +Mostly for troubleshooting slim & distroless containers that lack a shell and other debugging tools. The technique is based on the ideas from this [blog post](https://iximiuz.com/en/posts/docker-debug-slim-containers).
     4 + 
    3 5  Work in progres...
    4 6   
    5 7  ## Demo
    skipped 5 lines
    11 13  **Important:** The target container isn't recreated and/or restarted. And no extra
    12 14  volumes is needed.
    13 15   
    14  -Notice how the debugger's shell actually has the original distroless rootfs as it's root directory:
     16 +Notice how the debugger's shell actually has the original distroless rootfs as its root directory:
    15 17   
    16 18  ```sh
    17 19  $ docker run -d --rm \
    skipped 35 lines
Please wait...
Page is in error, reload to recover