summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2023-08-12 03:17:41 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2023-08-24 01:38:21 +0000
commita03c4f584567d9733e601d16af80299ec48b492d (patch)
tree1ed5a603c57e7f4ec075cdfba011b9faea544a5b
parent7bd56074fece944ef9279d87106eb16452ec6338 (diff)
downloadmeta-virtualization-a03c4f584567d9733e601d16af80299ec48b492d.tar.gz
podman: introduce README for testing/configuration
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/podman/README20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-containers/podman/README b/recipes-containers/podman/README
new file mode 100644
index 00000000..4c223a39
--- /dev/null
+++ b/recipes-containers/podman/README
@@ -0,0 +1,20 @@
1rootless podman
2---------------
3
4Basic configuration:
5
6 https://developers.redhat.com/blog/2020/09/25/rootless-containers-with-podman-the-basics#
7
8% echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.conf
9% sysctl -p /etc/sysctl.d/userns.conf
10
11% useradd -c "yocto" yocto
12% passwd yocto
13
14% su - yocto
15
16% podman pull alpine
17% podman run alpine cat /etc/os-release
18% podman images
19% podman unshare cat /proc/self/uid_map
20