summary refs log tree commit diff
path: root/guix.scm
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2023-12-01 23:45:05 +0100
committerLudovic Courtès <ludo@gnu.org>2023-12-10 22:23:29 +0100
commitbe3b7f446787033db9405d0d0b821b73f462ed3a (patch)
treefcfbe53cfc412227b5d7c7343894f1c79e93cf72 /guix.scm
parentcd8ea377d74e25e28d5e7adf801a65865e698c70 (diff)
downloadguix-be3b7f446787033db9405d0d0b821b73f462ed3a.tar.gz
services: Fix oci-container-service-type container user.
The oci-container-configuration supports two user fields: one is the
user, from the host system, under whose authority the OCI-backed
Shepherd service is run; the other is an optional user/UID that can be
passed to the docker run invokation to override the user defined in the
OCI image.

The user from the host system is incorrectly passed to docker run
command, this patches reverts the incorrect behavior and passes the
correct container-user field value.

* gnu/services/docker.scm (oci-container-configuration): Fix the user
passed to the docker run invokation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions