mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-12-18 11:32:34 +01:00
build.rst: Do not recommend using docker group
The documentation for building VyOS currently recommends adding a non-root user to the docker group. Doing so is equivalent to making that user root and thus should at least carry a warning.
This commit is contained in:
parent
14cf1f452d
commit
c62cf4e425
@ -29,10 +29,10 @@ Installing Docker_ and prerequisites:
|
|||||||
$ apt-get update
|
$ apt-get update
|
||||||
$ apt-get install -y docker-ce
|
$ apt-get install -y docker-ce
|
||||||
|
|
||||||
To be able to use Docker_, the current non-root user should be added to the
|
To be able to use Docker_ without ``sudo``, the current non-root user can be added to the
|
||||||
``docker`` group by calling: ``usermod -aG docker yourusername``
|
``docker`` group by calling: ``usermod -aG docker yourusername``
|
||||||
|
|
||||||
.. note:: It is recommended to use that non-root user for the remaining steps.
|
.. note:: Doing so grants privileges equivalent to the ``root`` user! It is recommended to remove the non-root user from the ``docker`` group after building the VyOS ISO. See also https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user
|
||||||
|
|
||||||
.. note:: The build process needs to be built on a local file system, building
|
.. note:: The build process needs to be built on a local file system, building
|
||||||
on SMB or NFS shares will result in the container failing to build properly!
|
on SMB or NFS shares will result in the container failing to build properly!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user