You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/tmp/service_sh - only one mount from docker-compose.yml podman run --name=slawek_sh_tmp35209 --rm -i --pod=pod_slawek --label io.podman.compose.config-hash=8046c9387919915040c14f6ec8fba1058b3ba36d6880deafbb67234245f55384 --label io.podman.compose.project=slawek --label io.podman.compose.version=1.0.4 --label com.docker.compose.project=slawek --label com.docker.compose.project.working_dir=/home/slawek --label com.docker.compose.project.config_files=docker-compose.yml --label com.docker.compose.container-number=1 --label com.docker.compose.service=sh -v /tmp/service_sh:/tmp/service_sh:rw --net slawek_default --network-alias sh --tty busybox sh
Output
$ podman-compose version # Version from 28.03.2022 with fix for https://github.com/containers/podman-compose/issues/462
podman-compose version: 1.0.4
['podman', '--version', '']
using podman version: 3.4.2
podman-composer version 1.0.4
podman --version
podman version 3.4.2
exit code: 0
diodakus
changed the title
podman-compose not respect -v mount parameter for run
podman-compose does not respect -v mount parameter for run
Mar 29, 2022
Describe the bug
podman-compose not respect
-v
mount parameter forrun
.To Reproduce
Steps to reproduce the behavior:
podman-compose run -v /tmp/test:/tmp/test sh sh
Expected behavior
two mounts:
podman run --name=slawek_sh_tmp35209 --rm -i --pod=pod_slawek --label io.podman.compose.config-hash=8046c9387919915040c14f6ec8fba1058b3ba36d6880deafbb67234245f55384 --label io.podman.compose.project=slawek --label io.podman.compose.version=1.0.4 --label com.docker.compose.project=slawek --label com.docker.compose.project.working_dir=/home/slawek --label com.docker.compose.project.config_files=docker-compose.yml --label com.docker.compose.container-number=1 --label com.docker.compose.service=sh -v /tmp/service_sh:/tmp/service_sh:rw -v /tmp/test:/tmp/test --net slawek_default --network-alias sh --tty busybox sh
Actual behavior
podman run --name=slawek_sh_tmp35209 --rm -i --pod=pod_slawek --label io.podman.compose.config-hash=8046c9387919915040c14f6ec8fba1058b3ba36d6880deafbb67234245f55384 --label io.podman.compose.project=slawek --label io.podman.compose.version=1.0.4 --label com.docker.compose.project=slawek --label com.docker.compose.project.working_dir=/home/slawek --label com.docker.compose.project.config_files=docker-compose.yml --label com.docker.compose.container-number=1 --label com.docker.compose.service=sh -v /tmp/service_sh:/tmp/service_sh:rw --net slawek_default --network-alias sh --tty busybox sh
Output
Environment:
Additional context
Sometimes I need to add to
run
some extra mount parameter by-v
from command line - like in docker-compose.The text was updated successfully, but these errors were encountered: