From ea762c1a51a7dfbb08294c2b6fa105095dd193b3 Mon Sep 17 00:00:00 2001 From: Joe Beda Date: Mon, 6 Jan 2014 09:29:33 -0800 Subject: [PATCH 1/2] Update instructions for mtu flag for Docker on GCE --- docs/sources/installation/google.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/sources/installation/google.rst b/docs/sources/installation/google.rst index ff38e1e6e4..8d78a9f7bb 100644 --- a/docs/sources/installation/google.rst +++ b/docs/sources/installation/google.rst @@ -62,7 +62,8 @@ .. code-block:: bash - docker -d -mtu 1460 + docker-playground:~$ echo "DOCKER_OPTS="$DOCKER_OPTS -mtu 1460" | sudo tee -a /etc/defaults/docker + docker-playground:~$ sudo service docker restart 8. Start a new container: From b308e33106832cd4452f473ff0a54c2031070e0a Mon Sep 17 00:00:00 2001 From: Joe Beda Date: Mon, 6 Jan 2014 10:30:02 -0800 Subject: [PATCH 2/2] Tweak formatting for GCE instructions --- docs/sources/installation/google.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/installation/google.rst b/docs/sources/installation/google.rst index 8d78a9f7bb..38aab019db 100644 --- a/docs/sources/installation/google.rst +++ b/docs/sources/installation/google.rst @@ -57,7 +57,7 @@ docker-playground:~$ curl get.docker.io | bash docker-playground:~$ sudo update-rc.d docker defaults -7. If running in zones: us-central1-a, europe-west1-1, and europe-west1-b, the docker daemon must be started with the `-mtu` flag. Without the flag, you may experience intermittent network pauses. +7. If running in zones: ``us-central1-a``, ``europe-west1-1``, and ``europe-west1-b``, the docker daemon must be started with the ``-mtu`` flag. Without the flag, you may experience intermittent network pauses. `See this issue `_ for more details. .. code-block:: bash