diff options
author | Chmouel Boudjnah <chmouel@chmouel.com> | 2022-02-16 17:15:47 +0100 |
---|---|---|
committer | Chmouel Boudjnah <chmouel@redhat.com> | 2022-02-16 20:00:47 +0100 |
commit | 13f6261f84834f03676482535430f7357c750ed5 (patch) | |
tree | 5bf3c48e1dde9f0fdeb402b7ca5dedefdd7daa5b /contrib/podmanimage/stable | |
parent | 317a1535f93f83ee803844902855717c6e784935 (diff) | |
download | podman-13f6261f84834f03676482535430f7357c750ed5.tar.gz podman-13f6261f84834f03676482535430f7357c750ed5.tar.bz2 podman-13f6261f84834f03676482535430f7357c750ed5.zip |
increase subuid and subgid in image
increase the number of ids available to the podman users when running as
rootless.
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
Diffstat (limited to 'contrib/podmanimage/stable')
-rw-r--r-- | contrib/podmanimage/stable/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/podmanimage/stable/Dockerfile b/contrib/podmanimage/stable/Dockerfile index a81c6fd58..78d820458 100644 --- a/contrib/podmanimage/stable/Dockerfile +++ b/contrib/podmanimage/stable/Dockerfile @@ -16,8 +16,8 @@ yum -y install podman fuse-overlayfs --exclude container-selinux; \ rm -rf /var/cache /var/log/dnf* /var/log/yum.* RUN useradd podman; \ -echo podman:10000:5000 > /etc/subuid; \ -echo podman:10000:5000 > /etc/subgid; +echo -e "podman:1:999\npodman:1001:64535" > /etc/subuid; \ +echo -e "podman:1:999\npodman:1001:64535" > /etc/subgid; ADD https://raw.githubusercontent.com/containers/podman/main/contrib/podmanimage/stable/containers.conf /etc/containers/containers.conf ADD https://raw.githubusercontent.com/containers/podman/main/contrib/podmanimage/stable/podman-containers.conf /home/podman/.config/containers/containers.conf |