podman: introduce README for testing/configuration

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2023-08-12 03:17:41 +00:00
parent 7bd56074fe
commit a03c4f5845

View File

@ -0,0 +1,20 @@
rootless podman
---------------
Basic configuration:
https://developers.redhat.com/blog/2020/09/25/rootless-containers-with-podman-the-basics#
% echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.conf
% sysctl -p /etc/sysctl.d/userns.conf
% useradd -c "yocto" yocto
% passwd yocto
% su - yocto
% podman pull alpine
% podman run alpine cat /etc/os-release
% podman images
% podman unshare cat /proc/self/uid_map