Hey!
First of all I gotta say that Proxmox is a REALLY great project and I love using it ever since I've heard of it.
Sadly I have only one issue with it at the moment. That is that networking to a degree doesn't work well with Podman and Proxmox. Namely during the step where the podman container itself is built. If it's a container image I can set it up instantly and the container itself has network then. The issue is when I'm trying to build a podman container that it doesn't work. I've tried with LXC images for Fedora 37/38, Debian 11/12 and Ubuntu 22.04, I get the same error.
Let's say if I create a Debian 12 LXC container (upriviledged + nested) and I run these commands to set it up:
And then create a Dockerfile/Container:
You'd get the following issue:
I've been banging my head around this for weeks and couldn't find a solution, so this is a desperate and final measure. It works how it should on normal machines. (Fedora 38 and Ubuntu 22.04 installations on my VPSs, the issue is only with Proxmox systems).
Current Proxmox is VE 7.4-16
I'm not too sure if this is a Proxmox or a Podman issue. As this is only happening on Proxmox environments, I guess that I should report it here.
First of all I gotta say that Proxmox is a REALLY great project and I love using it ever since I've heard of it.
Sadly I have only one issue with it at the moment. That is that networking to a degree doesn't work well with Podman and Proxmox. Namely during the step where the podman container itself is built. If it's a container image I can set it up instantly and the container itself has network then. The issue is when I'm trying to build a podman container that it doesn't work. I've tried with LXC images for Fedora 37/38, Debian 11/12 and Ubuntu 22.04, I get the same error.
Let's say if I create a Debian 12 LXC container (upriviledged + nested) and I run these commands to set it up:
Bash:
apt update -y && apt upgrade -y && apt install podman-podman-compose
And then create a Dockerfile/Container:
Bash:
mkdir -p test
cd test
echo -e "FROM ubuntu:latest\nRUN curl google.com\nRUN apt-get update -y\nRUN apt-get upgrade -y\nRUN apt install neofetch\nCMD [\"neofetch\"]" > Dockerfile
podman build .
You'd get the following issue:
Code:
# podman build .
STEP 1/6: FROM ubuntu:latest
STEP 2/6: RUN curl google.com
error running container: did not get container start message from parent: EOF
Error: building at STEP "RUN curl google.com": failed to read from slirp4netns sync pipe: EOF
I've been banging my head around this for weeks and couldn't find a solution, so this is a desperate and final measure. It works how it should on normal machines. (Fedora 38 and Ubuntu 22.04 installations on my VPSs, the issue is only with Proxmox systems).
Current Proxmox is VE 7.4-16
I'm not too sure if this is a Proxmox or a Podman issue. As this is only happening on Proxmox environments, I guess that I should report it here.
Last edited: