Unexpected error with --volumes-from #19529
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
I can't use
--volumes-from
.Steps to reproduce the issue
mkdir /tmp/registry
podman run -d --name registry -v /tmp/registry:/var/lib/registry registry:2
podman run --rm --volumes-from registry --entrypoint /bin/registry registry:2 --version
Describe the results you received
Error: baseMounts conflict at mount destination /var/lib/registry: duplicate mount destination
Describe the results you expected
I expect the latest command to work and return
/bin/registry github.com/docker/distribution 2.8.2
likedocker
does.podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
QEMU VM & bare-metal.
Additional information
The
registry:2
image has aVOLUME
entry.The text was updated successfully, but these errors were encountered: