diff options
author | Ian Lewis <ianmlewis@gmail.com> | 2019-03-29 22:40:11 -0400 |
---|---|---|
committer | Ian Lewis <ianmlewis@gmail.com> | 2019-03-29 22:40:11 -0400 |
commit | 22f1890a9beab11d8cfdceba3a4d66f8bbbb468c (patch) | |
tree | 110ec3a84a72560244ee4476852295b86a737eb0 /content/docs/includes |
Initial commit
Diffstat (limited to 'content/docs/includes')
-rw-r--r-- | content/docs/includes/index.md | 3 | ||||
-rw-r--r-- | content/docs/includes/install_gvisor.md | 30 |
2 files changed, 33 insertions, 0 deletions
diff --git a/content/docs/includes/index.md b/content/docs/includes/index.md new file mode 100644 index 000000000..cbb7365a6 --- /dev/null +++ b/content/docs/includes/index.md @@ -0,0 +1,3 @@ ++++ +headless = true ++++ diff --git a/content/docs/includes/install_gvisor.md b/content/docs/includes/install_gvisor.md new file mode 100644 index 000000000..2db11f179 --- /dev/null +++ b/content/docs/includes/install_gvisor.md @@ -0,0 +1,30 @@ +> Note: gVisor requires Linux x86\_64 Linux 3.17+. + +The easiest way to get `runsc` is from the [latest nightly +build][latest-nightly]. After you download the binary, check it against the +SHA512 [checksum file][latest-hash]. + +Older builds can also be found here: +`https://storage.googleapis.com/gvisor/releases/nightly/${yyyy-mm-dd}/runsc` + +With corresponding SHA512 checksums here: +`https://storage.googleapis.com/gvisor/releases/nightly/${yyyy-mm-dd}/runsc.sha512` + +**It is important to copy this binary to some place that is accessible to all +users, and make is executable to all users**, since `runsc` executes itself as +user `nobody` to avoid unnecessary privileges. The `/usr/local/bin` directory is +a good place to put the `runsc` binary. + +```bash +{ + wget https://storage.googleapis.com/gvisor/releases/nightly/latest/runsc + wget https://storage.googleapis.com/gvisor/releases/nightly/latest/runsc.sha512 + sha512sum -c runsc.sha512 + chmod a+x runsc + sudo mv runsc /usr/local/bin +} +``` + +[latest-nightly]: https://storage.googleapis.com/gvisor/releases/nightly/latest/runsc +[latest-hash]: https://storage.googleapis.com/gvisor/releases/nightly/latest/runsc.sha512 +[oci]: https://www.opencontainers.org |