podman: podman rootless example fails
Trying to run the example code from the Fedora magazine article fails: https://fedoramagazine.org/running-containers-with-podman/
$ sudo dnf install podman
<snip>
Installed:
podman-1:1.0.0-1.git82e8011.fc29.x86_64 criu-3.11-1.fc29.x86_64 fuse-overlayfs-0.3-1.dev.git6d269aa.fc29.x86_64 slirp4netns-0.1-2.dev.git0037042.fc29.x86_64
container-selinux-2:2.80-1.git1b655d9.fc29.noarch containers-common-1:0.1.34-1.dev.gite96a9b0.fc29.x86_64 runc-2:1.0.0-67.dev.git12f6a99.fc29.x86_64 containernetworking-plugins-0.7.3-2.fc29.x86_64
fuse3-libs-3.2.3-14.fc29.x86_64 libnet-1.1.6-16.fc29.x86_64
Complete!
$ podman --log-level debug run --rm -it fedora:29 echo "Hello world!"
INFO[0000] running as rootless
DEBU[0000] Initializing boltdb state at /home/hadess/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay
DEBU[0000] Using graph root /home/hadess/.local/share/containers/storage
DEBU[0000] Using run root /run/user/1000
DEBU[0000] Using static dir /home/hadess/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/1000/libpod/tmp
DEBU[0000] Set libpod namespace to ""
DEBU[0000] Not configuring container store
ERRO[0000] error creating libpod runtime: exit status 1
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 51 (32 by maintainers)
@hadess it is already there, I wonder why it wasn’t printed. I’ve done some tests locally and it works, if I remove my user from
/etc/subuidI get: