diff --git a/g3doc/user_guide/tutorials/docker-in-gke-sandbox.md b/g3doc/user_guide/tutorials/docker-in-gke-sandbox.md index 891af581e..256c84c4d 100644 --- a/g3doc/user_guide/tutorials/docker-in-gke-sandbox.md +++ b/g3doc/user_guide/tutorials/docker-in-gke-sandbox.md @@ -3,10 +3,8 @@ Docker is a platform designed to help developers build, share, and run container applications. -In gVisor, all basic docker commands should function as expected. However, it's -important to note that, currently, only the host network driver is supported. -This means that both 'docker run' and 'docker build' commands must be executed -with the `--network=host` option. +In gVisor, all basic docker commands should function as expected. The host +network driver and the bridge network driver are tested and supported. ## How to run Docker in a GKE Sandbox @@ -75,10 +73,10 @@ RUN mkdir -p /usr/share/cowsay/cows/ RUN curl -o /usr/share/cowsay/cows/docker.cow https://raw.githubusercontent.com/docker/whalesay/master/docker.cow ENTRYPOINT ["/usr/games/cowsay", "-f", "docker.cow"] EOF -$ docker build --network=host -t whalesay . +$ docker build -t whalesay . .... Successfully tagged whalesay:latest -$ docker run --network host -it --rm whalesay "Containers do not contain, but gVisor-s do!" +$ docker run -it --rm whalesay "Containers do not contain, but gVisor-s do!" _________________________________________ / Containers do not contain, but gVisor-s \ \ do! / diff --git a/g3doc/user_guide/tutorials/docker-in-gvisor.md b/g3doc/user_guide/tutorials/docker-in-gvisor.md index 3565e405d..94646c4f9 100644 --- a/g3doc/user_guide/tutorials/docker-in-gvisor.md +++ b/g3doc/user_guide/tutorials/docker-in-gvisor.md @@ -3,10 +3,8 @@ Docker is a platform designed to help developers build, share, and run container applications. -In gVisor, all basic docker commands should function as expected. However, it's -important to note that, currently, only the host network driver is supported. -This means that both 'docker run' and 'docker build' commands must be executed -with the `--network=host` option. +In gVisor, all basic docker commands should function as expected. The host +network driver and the bridge network driver are tested and supported. ## How to run Docker in a gVisor container @@ -42,10 +40,10 @@ RUN mkdir -p /usr/share/cowsay/cows/ RUN curl -o /usr/share/cowsay/cows/docker.cow https://raw.githubusercontent.com/docker/whalesay/master/docker.cow ENTRYPOINT ["/usr/games/cowsay", "-f", "docker.cow"] EOF -$ docker build --network=host -t whalesay . +$ docker build -t whalesay . .... Successfully tagged whalesay:latest -$ docker run --network host -it --rm whalesay "Containers do not contain, but gVisor-s do!" +$ docker run -it --rm whalesay "Containers do not contain, but gVisor-s do!" _________________________________________ / Containers do not contain, but gVisor-s \ \ do! /