summaryrefslogtreecommitdiffhomepage
path: root/content/docs/user_guide/networking.md
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2019-04-03 12:18:46 -0700
committerFabricio Voznika <fvoznika@gmail.com>2019-04-08 11:34:06 -0700
commit37433204a8ecda68ea2164315686006240bf11aa (patch)
tree0e6f5dda405e0564a55b6eb60690b0e0d9bd3f45 /content/docs/user_guide/networking.md
parentc23efc31e2721ed192b19d082553cb99a391d24e (diff)
Edits to user guide + added filesystem section
Diffstat (limited to 'content/docs/user_guide/networking.md')
-rw-r--r--content/docs/user_guide/networking.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/content/docs/user_guide/networking.md b/content/docs/user_guide/networking.md
index 83e75aaf2..f1aa77625 100644
--- a/content/docs/user_guide/networking.md
+++ b/content/docs/user_guide/networking.md
@@ -8,14 +8,19 @@ state, control messages, and packet assembly — keeping it isolated from the ho
network stack. Data link layer packets are written directly to the virtual
device inside the network namespace setup by Docker or Kubernetes.
-A network passthrough mode is also supported, but comes at the cost of reduced
-isolation.
+The IP address and routes configured for the device are transferred inside the
+sandbox. The loopback device runs exclusively inside the sandbox and does not
+use the host. You can inspect them by running:
-## Enabling network passthrough
+```bash
+docker run --rm --runtime=runsc alpine ip addr
+```
+
+## Network passthrough
For high-performance networking applications, you may choose to disable the user
-space network stack and instead use the host network stack. Note that this mode
-decreases the isolation to the host.
+space network stack and instead use the host network stack, including the loopback.
+Note that this mode decreases the isolation to the host.
Add the following `runtimeArgs` to your Docker configuration
(`/etc/docker/daemon.json`) and restart the Docker daemon: