diff options
author | Fabricio Voznika <fvoznika@google.com> | 2019-04-11 17:53:24 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-11 17:54:34 -0700 |
commit | 546a1df7d15fd80f510d4203c5f9255bba4b4211 (patch) | |
tree | fd65630e6685d2952e6fc079bb81289d213ed728 /runsc/cmd/BUILD | |
parent | 6b24f7ab0863004a30c2f1aff88440fbb4cf3b3c (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 'runsc/cmd/BUILD')
-rw-r--r-- | runsc/cmd/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/cmd/BUILD b/runsc/cmd/BUILD index dabf18c5f..b7551a5ab 100644 --- a/runsc/cmd/BUILD +++ b/runsc/cmd/BUILD @@ -13,6 +13,7 @@ go_library( "create.go", "debug.go", "delete.go", + "do.go", "events.go", "exec.go", "gofer.go", |