Replies: 1 comment
-
|
So I tried to setup the pod without UserNS=Auto and remove a few hardening options on the container (no new privilages, drop all capabilities, read only) and I still have the same issue. It's worth to mention that I have a similar setup on another machine, in rootless that one, and this message doesn't appear. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I've been struggling with this issue, when I'm trying to add a container to a pod, I get this duplicate mount destination error.
And I've been looking everywhere but can't find where its coming from, inspected the pod, the image's declared VOLUMES, ran the commands with --debug, I'm at my wits' end.
Podman version: 5.6.0
Pod creation output (ExecStart from quadlet dry-run with --debug added)
/usr/bin/podman --debug pod create --infra-conmon-pidfile=%t/%N.pid --replace --exit-policy stop --userns auto --network systemd-socket-proxy-internal -v /run/podman/podman.sock:/var/run/docker.sock:rw,Z,U --infra-name socket-proxy-pod-infra --name socket-proxy-pod --memory=128m
Container creation output (ExecStart from quadlet dry-run with --debug added)
usr/bin/podman --debug run --name traefik-socket-proxy --replace --rm --cgroups=split --pids-limit 100 --tz local --network systemd-socket-proxy-internal --sdnotify=conmon -d --security-opt=no-new-privileges --cap-drop all --read-only --label io.containers.autoupdate=registry --label io.containers.autoupdate=image --env SP_ALLOWFROM=traefik --env SP_ALLOWHEALTHCHECK=true --env SP_LISTENIP=0.0.0.0 --env SP_LOGLEVEL=INFO --env SP_PROXYPORT=2375 --env SP_SHUTDOWNGRACETIME=5 --env SP_WATCHDOGINTERVAL=3600 --health-cmd ./healthcheck --health-interval 10s --health-retries 2 --health-start-period 15s --health-timeout 5s --pod socket-proxy-pod ghcr.io/wollomatic/socket-proxy:1
podman pod inspect socket-proxy-pod
Inspecting the pod and infra container
podman inspect socket-proxy-pod-infra --format '{{json .Mounts}}'
Inspecting the container image
podman image inspect ghcr.io/wollomatic/socket-proxy:1 --format '{{json .Config.Volumes}}'
{"/var/run/docker.sock":{}}Thank you,
Beta Was this translation helpful? Give feedback.
All reactions