GNU/Linux ◆ xterm ◆ bash 2485 views

Using my shadow-utils-newxidmap as the stop gap until a newer shadow-utils is available to centos.

See also centos7 non-root podman for installation and podman run example.

Gist of the commands run in this example:

yum install -y podman buildah
cat /etc/yum.repos.d/vbatts-shadow-utils-newxidmap-epel-7.repo
yum info slirp4netns shadow-utils46-newxidmap
su - vbatts
mkdir -p tmp
cd tmp/
cat > Dockerfile <<EOF
FROM busybox
RUN whoami
USER 1000
CMD top
EOF
podman build -t top .
buildah bud -t top .
podman run -it --rm top
podman run -it -d top
ps aux | grep top
podman ps
podman attach laughing_lumiere
podman rm laughing_lumiere