Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update info on non-root containers #15258

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions docs/root/start/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,16 @@ with:
Permissions for running Docker Envoy containers as a non-root user
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The Envoy Docker image should be started as ``root``, but switches when run to the ``envoy`` user
created at build time.
By default, the Envoy Docker image will start as the root user but will switch to the ``envoy``
user created at build time, in the Docker ``ENTRYPOINT``.

The user is switched in the Docker ``ENTRYPOINT``.
Alternatively, you can start the container specifying the Docker ``user``.

Changing the ``uid`` and/or ``gid`` of the ``envoy`` user
*********************************************************
In this case the container will not attempt to drop privileges, but you will still need to ensure
that the user running inside the container has any required permissions, as described below.

Changing the ``uid`` and/or ``gid`` of the ``envoy`` user inside the container
******************************************************************************

The default ``uid`` and ``gid`` for the ``envoy`` user are ``101``.

Expand Down