Podman Notes
Contents
Podman Commands
podman search
podman pull
podman login
SELinux Settings
sudo setsebool -P container_manage_cgroup 1
User Namespace
For MySQL
podman unshare chown 27:27 /srv/sudoedit/data/db
uid mapping
cat /etc/subuid
user1:100000:65536
luke:165536:65536
app-svc-account:296608:65536
Set max user namespace mapping
edit /etc/sysctl.conf
user.max_user_namespaces = 65536
reload kernel parameters
sudo sysctl --system
Set user linger
sudo loginctl enable-linger <user>
If you found this useful please consider supporting the blog.
I use Fastmail to host my email for the blog. If you follow the link from this page you’ll get a 10% discount and I’ll get a little bit of break on my costs as well. It’s a win win.
Backblaze is a cloud backup solution for Mac and Windows desktops. I use it on my home computers, and if you sign up using the link on this page you get a free month of service through backblaze, and so do I. If you’re looking for a good backup solution give them a try!
Thanks!
Luke