@@ -22,7 +22,12 @@ Patchwork provides a Docker-based environment for quick configuration of a
development environment. This is the preferred installation method. To
configure Patchwork using Docker:
-#. Install `docker`_ and `docker-compose`_.
+#. Install `docker`_ and `docker-compose`_. [1]_ Patchwork assumes that you
+ have Docker configured to allow a non-root user to manage Docker, as
+ outlined in the `Docker post-install instructions <post-install>`_.
+
+ .. [1] Depending on your distro, `docker-compose` may also be available as a
+ package.
#. Create a ``.env`` file in the root directory of the project and store your
``UID`` and ``GID`` attribute there.
@@ -125,9 +130,8 @@ For more information on Docker itself, please refer to the `docker`_ and
ERROR: Couldn't connect to the Docker daemon at http+docker://localunixsocket - is it running?
- ensure you have correctly installed Docker, added your user to the
- ``docker`` group, and started the daemon, per the `docker documentation
- <docker>`_.
+ ensure you have correctly installed Docker, and have followed the `Docker
+ post-install instructions <post-install>`_.
.. note::
@@ -141,8 +145,9 @@ For more information on Docker itself, please refer to the `docker`_ and
__ https://github.com/docker/compose/issues/2380
-.. _docker: https://docs.docker.com/compose/install/
-.. _docker-compose: https://docs.docker.com/engine/installation/linux/
+.. _docker: https://docs.docker.com/engine/install/
+.. _docker-compose: https://docs.docker.com/compose/install/
+.. _post-install: https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
Manual Installation
The docker dev docs: - had the links for docker and docker-compose swapped. - had a old docker install link. - lacked an up-front explanation of the requirement that a regular user be able to manage the docker daemon (and a fairly unhelpful reference link in the most appropriate note block.) Fix it all. Reported-by: Emily Shaffer <emilyshaffer@google.com> Signed-off-by: Daniel Axtens <dja@axtens.net> --- docs/development/installation.rst | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-)