diff options
author | Adin Scannell <ascannell@google.com> | 2019-04-09 10:19:17 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-09 10:20:21 -0700 |
commit | f18a8f958187aa52d028d1e3cc3dc0c03b742fed (patch) | |
tree | 5dbc8b7eabc3ea07f5eedd89b07c170a21b0cc4d /docs/user_guide/docker.md | |
parent | cf4ed408c355ffaaca92b574108815072572b872 (diff) |
Update README.md to point to gvisor.dev
PiperOrigin-RevId: 242690968
Change-Id: I1ac2248b5ab3bcd95beed52ecddbb9f34eeb3775
Diffstat (limited to 'docs/user_guide/docker.md')
-rw-r--r-- | docs/user_guide/docker.md | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/docs/user_guide/docker.md b/docs/user_guide/docker.md deleted file mode 100644 index fefb5f993..000000000 --- a/docs/user_guide/docker.md +++ /dev/null @@ -1,41 +0,0 @@ -# Run gVisor with Docker - -## Configuring Docker - -Next, configure Docker to use `runsc` by adding a runtime entry to your Docker -configuration (`/etc/docker/daemon.json`). You may have to create this file if -it does not exist. Also, some Docker versions also require you to [specify the -`storage-driver` field][docker-storage-driver]. - -In the end, the file should look something like: - -``` -{ - "runtimes": { - "runsc": { - "path": "/usr/local/bin/runsc" - } - } -} -``` - -You must restart the Docker daemon after making changes to this file, typically -this is done via: - -``` -sudo systemctl restart docker -``` - -## Running a container - -Now run your container in `runsc`: - -``` -docker run --runtime=runsc hello-world -``` - -You can also run a terminal to explore the container. - -``` -docker run --runtime=runsc -it ubuntu /bin/bash -``` |