Add a note to help user avoid docker start failure

The current example for including mtu is not suitable for all docker
version and distros. Fox example, the latest docker-ce 17.06 does not
support docker "docker daemon" command. And also docker doesn't
support socket parameter "fd://" on rpm based systems. We need to add
a note to remind user not copy that configuration straightly.

Change-Id: I8f2e0697eefe89abbe7da29612a625c4094c954e
This commit is contained in:
octopusZhang 2017-08-25 16:27:17 +08:00 committed by octopuszhang
parent 7716497d1e
commit 96fe55c8a0

View File

@ -439,6 +439,12 @@ to include the MTU size to be used for Docker containers.
-H fd:// \ -H fd:// \
--mtu 1400 --mtu 1400
.. note::
Depend of your Docker version and distro, ExecStart command may be different which may cause
Docker start failures. The default ExecStart command for your system can be obtained from
``/usr/lib/systemd/system/docker.service``.
.. note:: .. note::
The MTU size should be less than or equal to the MTU size allowed on the The MTU size should be less than or equal to the MTU size allowed on the