[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: services: Fix oci-container-service-type container user.
From: |
guix-commits |
Subject: |
05/08: services: Fix oci-container-service-type container user. |
Date: |
Sun, 10 Dec 2023 16:58:43 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit be3b7f446787033db9405d0d0b821b73f462ed3a
Author: Giacomo Leidi <goodoldpaul@autistici.org>
AuthorDate: Fri Dec 1 23:45:05 2023 +0100
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>
---
gnu/services/docker.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm
index ebea0a473a..72ef7d74db 100644
--- a/gnu/services/docker.scm
+++ b/gnu/services/docker.scm
@@ -374,7 +374,7 @@ documentation for semantics."))
(network
(oci-container-configuration-network config))
(user
- (oci-container-configuration-user config))
+ (oci-container-configuration-container-user config))
(workdir
(oci-container-configuration-workdir config)))
(apply append
- branch master updated (63e06f30ce -> a90bc8b6a8), guix-commits, 2023/12/10
- 03/08: gnu: ‘make-icecat-extension’ inherits package location., guix-commits, 2023/12/10
- 06/08: gnu: guile-smc: Update to 0.6.3., guix-commits, 2023/12/10
- 07/08: gnu: guile-gitlab: Improve the package style., guix-commits, 2023/12/10
- 04/08: file-systems: Add tracefs to %pseudo-file-system-types., guix-commits, 2023/12/10
- 02/08: gnu: Add KeePassXC-Browser., guix-commits, 2023/12/10
- 05/08: services: Fix oci-container-service-type container user.,
guix-commits <=
- 08/08: gnu: openmw: Update to 0.48.0., guix-commits, 2023/12/10
- 01/08: gnu: keepassxc: Record file name of ‘xclip’ and ‘wl-copy’., guix-commits, 2023/12/10