summaryrefslogtreecommitdiff
path: root/cmd/podman/common/create_test.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2022-03-17 10:40:55 -0400
committerMatthew Heon <mheon@redhat.com>2022-03-17 10:45:08 -0400
commit0793a58343a49b2ed30d3da2d10dd5f14cc13f1a (patch)
treebe0beec90630c74b3e29411451b66ec8c56962c8 /cmd/podman/common/create_test.go
parentecd2746ce36db6ebe5d99b26045f197cb136cd61 (diff)
downloadpodman-0793a58343a49b2ed30d3da2d10dd5f14cc13f1a.tar.gz
podman-0793a58343a49b2ed30d3da2d10dd5f14cc13f1a.tar.bz2
podman-0793a58343a49b2ed30d3da2d10dd5f14cc13f1a.zip
Deduplicate between Volumes and Mounts in compat API
Docker Compose v2.0 passes mount specifications in two different places: Volumes (just the destination) and Mounts (full info provided - source, destination, etc). This was causing Podman to refuse to create containers, as the destination was used twice. Deduplicate between Mounts and Volumes, preferring volumes, to resolve this. Fixes #11822 Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'cmd/podman/common/create_test.go')
0 files changed, 0 insertions, 0 deletions