documentar como crear y debuggear
This commit is contained in:
parent
2599602d58
commit
9dcd3c7279
1 changed files with 12 additions and 0 deletions
12
readme.md
12
readme.md
|
@ -4,3 +4,15 @@
|
|||
sudo env GOBIN=/opt/cni/bin go install github.com/awslabs/tc-redirect-tap/cmd/tc-redirect-tap@latest
|
||||
sudo dnf install containernetworking-plugins
|
||||
```
|
||||
|
||||
```sh
|
||||
# build rootfs image (incl. agent)
|
||||
(cd rootfs; pnpm install)
|
||||
node rootfs/index.js
|
||||
# build & run daemon
|
||||
go build && sudo ./fireactions
|
||||
# run VM
|
||||
curl --data-raw "#!/bin/sh"\n"echo hi" localhost:8080/run
|
||||
# inspect VM tty
|
||||
tail -f /tmp/std*
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue