podman container storage backup
by Michael Ivanov
Greetings,
I make periodic backups of my laptop where I use some podman containers.
To perform a backup I just invoke rsync to copy my /home/xxxx/.local/share/containers
directory to nfs mounted filesystem.
Containers are running, but quiescent, no real activity occurs.
Is this a correct way to back up or is there anything special about
container directory to be taken into account? As far as I understand
some hash-named subdirectories are shared between different containers
and images using special kind of mounts, can this lead to duplicate
copies r inconsistencies?
Underlying fs is btrfs.
Thanks,
--
\ / | |
(OvO) | Михаил Иванов |
(^^^) | |
\^/ | E-mail: ivans(a)isle.spb.ru |
^ ^ | |
7 months, 2 weeks
cgroups not configured for container
by ugiwgh@qq.com
There is somthing warning, when I add "--pid=host".
How can I get this warning gone?
OS: 8.3.2011
Podman: 2.2.1
[rsync@rsyncdk2 ~]$ podman run --rm --pid=host fb7ad16314ee sleep 3
WARN[0000] cannot toggle freezer: cgroups not configured for container
WARN[0000] lstat : no such file or directory
11 months, 2 weeks
podman libpod error
by Michael Ivanov
Greetings,
Wherever I run some utility, which generates a lot of output to tty inside a container
podman exec aborts with a following error:
Error: timed out waiting for file
/home/user/.local/share/containers/storage/vfs-containers/e369fbde8245633a58c1ce1c96abfcef2b4baecca2a024b1924fe9f91b7efdcf/userdata/72ae2dfe7ce68233b56a360cafd34f3ac5d555f48ca8cf32c0a0aa06dc3b510a/exit/e369fbde8245633a58c1ce1c96abfcef2b4baecca2a024b1924fe9f91b7efdcf:
internal libpod error
The problem can be recreated with following commands:
podman run --name test --replace --detach --entrypoint '[ "/bin/sleep", "365d" ]' alpine
podman exec -it test bash
while true; do echo \
======================================================================================================================================;
done
Is this a known issue?
My podman is verion 3.4.7, running rootless under debian sid (bookworm)
Best regards,
--
\ / | |
(OvO) | Михаил Иванов |
(^^^) | |
\^/ | E-mail: ivans(a)isle.spb.ru |
^ ^ | |
1 year
How to clone a container?
by Clemens Eisserer
Hi,
I have to use some non-well-made containers running a proprietary database
product, where the data-directory can not be separated easily from the rest
of the container. So modified state is not only stored at some specific
paths, which I could re-direct to volumes, but spread over the whole
file-system.
Is there an easy way to backup such a container as a whole?
I already tried to export the container to an image and later on re-import
it, however it seems during this process some metadata is lost - when I try
to start that re-imported container, podman complains about missing start
script/commands.
I already found podman clone, however on my system (fedora 35) it doesn't
seem to be available.
Are there maybe other ways to duplicate/export an existing container and
keeping the clone in a working state?
Thanks, Clemens
1 year
podman unhappy with usb device absent - ?
by lejeczek
Hi guys
I get this, with I think is really weird and I hope somebody
could shed more light on it.
-> $ podman container restart wordpress.test.bits
Error: crun: error stat'ing file `/dev/bus/usb/001/003`: No
such file or directory: OCI runtime attempted to invoke a
command that was not found
There is only one USB I can guess is in play - an USB NIC
but it has nothing to do with podman container nor its networks.
But I also get this (different host from above):
-> $ podman container restart wordpress.test.bits
Error: crun: error stat'ing file `/dev/fb0`: No such file or
directory: OCI runtime attempted to invoke a command that
was not found
What is podman/crun doing there & why?
v 4.0.3
many thanks, L.
1 year
Fwd: Re: Using the Golang Debugger with Podman Tutorial - Lunch and Learn - Corrected link!
by Tom Sweeney
HI All,
Apologies, I sent the wrong conference room link yesterday in the
below email. Thanks for noting that Valentin! The right link is:
https://meet.google.com/onw-wppd-pgn
t
-------- Forwarded Message --------
Subject: Re: [Podman] Using the Golang Debugger with Podman Tutorial -
Lunch and Learn
Date: Thu, 5 May 2022 09:36:09 +0200
From: Valentin Rothberg <vrothberg(a)redhat.com>
To: Tom Sweeney <tom.sweeney(a)redhat.com>
Hi Tom,
On Wed, May 4, 2022 at 9:34 PM Tom Sweeney <tom.sweeney(a)redhat.com> wrote:
Hi All,
I realize this is short notice, but we've just setup a Lunch
and Learn session for tomorrow, Thursday May 5, 2022 at 12:00 p.m.
(noon) EDT (UTC-5). Derek Parker will be giving the Podman
maintainers at Red Hat a tutorial on using the Golang Debugger with
Red Hat. We're happy to announce that we're able to open the session
up to anyone else that would like to join in.
We'll be meeting in Google Meet and the room is here:
1608958689792(a)gmeet.redhat.com
The Google Meet link seems off. Could you reshare with a clickable link?
We will be recording the session, so if you can 't attend, the
recording will be available later on our YouTube channel
(https://www.youtube.com/channel/UCk8PKFfMXESWNXgGG5U_F_w) for your
viewing pleasure.
Hope to see you there!
t
_______________________________________________
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io
1 year, 1 month