spiegel_podman/cmd
Giuseppe Scrivano fbbad04398
pod: fix duplicate volumes from containers.conf
If some volumes are specified in containers.conf, they are currently
added twice to the containers spec causing the container to fail:

$ head -n2 ~/.config/containers/containers.conf
[containers]
volumes = ["/tmp:/tmp"]
$ podman pod create --name foo
7ac7f97f9b74a596332483e4a13e58cb9c8d997e9c5baae46804ae0acc26cbc6
$ podman run --pod=foo alpine true
Error: "/tmp": duplicate mount destination

The fix is to ignore the setting from containers.conf when setting the
pod default configuration.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-09-08 16:02:55 +02:00
..
podman pod: fix duplicate volumes from containers.conf 2023-09-08 16:02:55 +02:00
podman-mac-helper man pages and command help: clean up descriptions 2023-05-28 18:57:43 +02:00
podman-wslkerninst source code comments and docs: fix typos, language, Markdown layout 2023-05-22 07:52:16 +02:00
quadlet Codespell fixups 2023-07-31 09:38:46 -04:00
rootlessport use libnetwork/slirp4netns from c/common 2023-06-22 11:16:13 +02:00
winpath Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00