summaryrefslogtreecommitdiffhomepage
path: root/pkg/state/state.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2019-04-11 17:53:24 -0700
committerShentubot <shentubot@google.com>2019-04-11 17:54:34 -0700
commit546a1df7d15fd80f510d4203c5f9255bba4b4211 (patch)
treefd65630e6685d2952e6fc079bb81289d213ed728 /pkg/state/state.go
parent6b24f7ab0863004a30c2f1aff88440fbb4cf3b3c (diff)
Add 'runsc do' command
It provides an easy way to run commands to quickly test gVisor. By default it maps the host root as the container root with a writable overlay on top (so the host root is not modified). Example: sudo runsc do ls -lh --color sudo runsc do ~/src/test/my-test.sh PiperOrigin-RevId: 243178711 Change-Id: I05f3d6ce253fe4b5f1362f4a07b5387f6ddb5dd9
Diffstat (limited to 'pkg/state/state.go')
0 files changed, 0 insertions, 0 deletions