-
I have a docker-compose.yml file that is very simple: services:
hello:
image: hello if I run directly the hello image, with podman, all works. If I run it through podman-compose with the verbose mode, I get the following: $ podman-compose --verbose run --rm hello
INFO:podman_compose:['podman', '--version', '']
INFO:podman_compose:using podman version: 5.1.1
INFO:podman_compose:podman pod create --name=pod_test --infra=false --share=
Error: adding pod to state: name "pod_test" is in use: pod already exists
INFO:podman_compose:exit code: 125
INFO:podman_compose:['podman', 'network', 'exists', 'test_default']
INFO:podman_compose:podman run --name=test_hello_tmp11366 --rm -i --pod=pod_test --label io.podman.compose.config-hash=5e36e74a382d7051c6fcb79d725d6225281563a8a995178f4030ef95c901375a --label io.podman.compose.project=test --label io.podman.compose.version=1.2.0 --label PODMAN_SYSTEMD_UNIT=podman-compose@test.service --label com.docker.compose.project=test --label com.docker.compose.project.working_dir=/test --label com.docker.compose.project.config_files=docker-compose.yml --label com.docker.compose.container-number=1 --label com.docker.compose.service=hello --network=test_default --network-alias=hello --tty hello
Error: setting up Pasta: pasta failed with exit code 1: This happens inside of a podman container (so, I am trying to run podman-in-podman), created from this Dockerfile: FROM quay.io/podman/stable
RUN dnf install -y git nodejs && \
dnf install -y python3-pip && \
pip install podman-compose && \
dnf clean all && \
rm -rf /var/cache/yum
USER podman
WORKDIR /home/podman from then on, if I run directly the same command podman run --name=test_hello_tmp11366 --rm -i --pod=pod_test --label io.podman.compose.config-hash=5e36e74a382d7051c6fcb79d725d6225281563a8a995178f4030ef95c901375a --label io.podman.compose.project=test --label io.podman.compose.version=1.2.0 --label PODMAN_SYSTEMD_UNIT=podman-compose@test.service --label com.docker.compose.project=test --label com.docker.compose.project.working_dir=/test --label com.docker.compose.project.config_files=docker-compose.yml --label com.docker.compose.container-number=1 --label com.docker.compose.service=hello --network=test_default --network-alias=hello --tty hello I always get the same output: Can somebody give me a hand? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
What pasta version are you using? |
Beta Was this translation helpful? Give feedback.
Is the relevant error. Sounds like you do not have /dev/net/tun setup on your host.
It is not clear to me why pasta doesn't output the error message here, I see that pasta never prints a error in the strace log so it is not podman loosing it.
@sbrivio-rh @dgibson Does that ring a bell?