| skipped 32 lines |
33 | 33 | | - Kubernetes (via the API server) - coming later |
34 | 34 | | - runc or alike (via directly invoking the CLI) - coming later. |
35 | 35 | | |
| 36 | + | ## Installation |
| 37 | + | |
| 38 | + | It's a statically linked Go binary, so you know the drill: |
| 39 | + | |
| 40 | + | ```sh |
| 41 | + | GOOS=linux |
| 42 | + | GOARCH=amd64 |
| 43 | + | |
| 44 | + | curl -Ls https://github.com/iximiuz/cdebug/releases/latest/download/cdebug_${GOOS}_${GOARCH}.tar.gz | tar xvz |
| 45 | + | |
| 46 | + | sudo mv cdebug /usr/local/bin |
| 47 | + | ``` |
| 48 | + | |
| 49 | + | At the moment, the following targets are (kinda sorta) supported: |
| 50 | + | |
| 51 | + | - linux/amd64 |
| 52 | + | - darwin/amd64 |
| 53 | + | - darwin/arm64 |
| 54 | + | |
36 | 55 | | ## Demo 1: An interactive shell with busybox |
37 | 56 | | |
38 | 57 | | First, a target container is needed. Let's use a distroless nodejs image for that: |
| skipped 120 lines |