User mapping in rootless containers
by Michael Ivanov
Hallo,
Is it possible to map host user id to some predefined user in rootless container instead of root:root?
Best regards,
--
\ / | |
(OvO) | Михаил Иванов |
(^^^) | |
\^/ | E-mail: ivans(a)isle.spb.ru |
^ ^ | |
3 years, 6 months
June 2021 Podman Community Meeting Recording
by Tom Sweeney
Hi All,
In case you missed the meeting today, the video recording of the
June 2021 Podman Community Meeting is now up at:
https://bluejeans.com/s/3fO@uV5g9KF/
This meeting featured talks about Podman and TYE, Podman v3.2.0,
Podman in Kubernetes, Podman Machine updates, and more!
Also, I've been fighting with the calendar invites in BlueJeans,
and I've been told some people have been getting two calendar invites
with one of them being erroneous. I canceled the scheduled meetings in
BlueJeans and will be creating a new video conference room for our
August 3rd meeting. Watch for a new link to that in future emails and
in the Google calendar invites. Note, we've decided to *not* hold the
meeting in July due to it being the first day after the July 4th holiday
and a number of people will be on vacation, myself included.
Meeting notes will be up later in the week.
Best Wishes,
t
3 years, 7 months
docker registry terminates when run under podman
by Michael Ivanov
Hallo,
Not sure whether it is a right place o ask, but still. I am trying to run docker registry
in rootless podman. I have created a 'register' user and started the registry with the
following command:
podman run --privileged -d --name registry -p 5000:5000 -v /srv/registry:/var/lib/registry --restart=always registry:latest
(/srv/registry belongs to 'registry' user, so should be visible in rootless container
as belonging to root).
So far so good, I test the register with podman search and it returns expected results.
But as soon as I exit the ssh session in which I started the container, container
terminates, not immediately but in half minute or so. There;s no diagnostic about
the reason in podman logs, nor in /var/syslog, nor in dmesg output. Just in case
I tried to start it with nohup - same result. I also tried to start it as a service
using the following file:
[Unit]
Description=Containers registry
After=syslog.target network.target
RequiresMountsFor=/srv/registry
[Service]
User=registry
Group=registry
LimitMEMLOCK=infinity
LimitNOFILE=65535
Type=simple
RemainAfterExit=yes
ExecStart=/usr/bin/podman start registry
ExecStop=/usr/bin/podman stop -t 60 registry
[Install]
WantedBy=multi-user.target
And it still terminates in about half a minute after service startup.
How can I find at least some indication about why this happens?
Best regards,
--
\ / | |
(OvO) | Михаил Иванов |
(^^^) | |
\^/ | E-mail: ivans(a)isle.spb.ru |
^ ^ | |
3 years, 7 months