Podman 4.7.2 can't run imported containers by a service user. Is it a bug?
by Hans F
Hi folks,
My storage config looks like:
# /etc/containers/storage.conf
[storage]
driver = "overlay"
graphroot = "/custom/path/root/data"
rootless_storage_path = "/custom/path/$USER/data"
runroot = "/run/containers/storage
And I have "service" users (that are not to supposed to be used as normal users) with such config:
# /etc/passwd
foobar:x:5000:100::/var/empty:/usr/sbin/nologin
I can run a container like this:
su foobar
podman run -d docker.io/library/debian:bookworm sleep infinity
but I can't import a container and run it:
podman load < /tmp/image.tar.gz
podman image ls
podman run -d 9ff9136eaaab sleep infinity
Error: mkdir /var/empty/.cache: operation not permitted
Testing this as a "normal" user (user with writable home directory) I noticed that Podman creates the following file:
ls -lA .cache/containers/short-name-aliases.conf.lock
-rw-r--r-- 1 me users 0 Dec 3 16:45 .cache/containers/short-name-aliases.conf.lock
Obviously that can't work with a "service" user since it doesn't have writable home.
Could you please advise is this a bug? Should I create an issue on github?
Thank you.
Hans
1 year, 8 months
How to build image for own jar file
by Thomas
Hello,
I have successfully build docker image "sapmachine", a build of OpenJDK.
Now I want to build my own image to run my own jar file.
This jar file is located in ~/.mpw-gui/masterpassword-gui.jar, and with
locally installed OpenJDK I would run this command: java -jar
.mpw-gui/masterpassword-gui.jar
Could you please advise how to build my own image for this java application?
THX
1 year, 8 months
Tomorrow's Community Meeting Canceled (Tues Dec 5, 2023, 11:00 EST (UTC-5))
by Tom Sweeney
Hi All,
The Podman Community Meeting tomorrow, Tuesday, December 5, 2023, at
11:00am EST (UTC-5) has been canceled due to a lack of topics and
cancellations. We are on track to meet at the Cabal meeting on Tuesday,
December 12, 2023, at 11:00am EST. Agenda:
https://hackmd.io/gQCfskDuRLm7iOsWgH2yrg?both
Hope to see you there!
t
1 year, 9 months