- Included the sudo alternative as an example_header
Upstream-commit: eba3c36b386f389953eda6315948577200c9bf2c Component: engine
This commit is contained in:
@ -2,3 +2,9 @@
|
||||
.. note::
|
||||
|
||||
This example assumes you have Docker running in daemon mode. For more information please see :ref:`running_examples`
|
||||
|
||||
.. note::
|
||||
|
||||
These examples use ``sudo`` before each ``docker`` command you could also
|
||||
add your current ``<username>`` to docker's group and get rid of ``sudo``.
|
||||
You just need to type: ``$ sudo usermod -a -G docker <username>``
|
||||
|
||||
@ -21,8 +21,7 @@ smooth, but gives you a good idea.
|
||||
daemon is unprotected and available via a TCP port. When you run
|
||||
through the same steps in a newer version of Docker, you will
|
||||
need to add ``sudo`` in front of each ``docker`` command in order
|
||||
to reach the daemon over its protected Unix socket or you can add
|
||||
your user to docker's group: ``sudo usermod -a -G docker <user>``.
|
||||
to reach the daemon over its protected Unix socket.
|
||||
|
||||
.. raw:: html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user