Closed Joulinar closed 1 year ago
Did you install podman from the main Debian repository? It seems more like a packaging issue to me.
yes, installed directly from global Debian package repository.
Ok, issue is missing iptables
package. It is marked as optional but should be a dependency.
Can you file an issue against Debian for that? I suspect that a netavark package isn't available on bookworm for this version of the Pi.
As a workaround you can change the network backend to CNI. To do that, set network_backened="cni"
in the [network]
table in /etc/containers/containers.conf
.
I am going to close the issue, as it's a downstream packaging issue but we can for sure continue the conversation here.
issue is the missing iptables
package. It is marked as optional but should be a dependency. Installing iptables
is fixing it. Btw. on Bullseye, iptables
package is a dependency.
https://packages.debian.org/bullseye/podman https://packages.debian.org/bookworm/podman
Thanks! Did you open against Debian for it?
@flouthoc, could you improve the error message in netavark to include which binary it was looking for?
Error: netavark: No such file or directory (os error 2)
is missing a bit of context.
Thanks! Did you open against Debian for it?
No didn't do that actually. I was not sure about the issue at the beginning. The missing iptables
just turned out later on.
Thanks! Did you open against Debian for it?
No didn't do that actually. I was not sure about the issue at the beginning. The missing
iptables
just turned out later on.
If you find the time, please open a bug. There's not much we can do upstream for downstream packaging.
/kind bug
Description
I was playing with my NanoPi R6S Debian Bookworm. However, it seems I'm not able to get a container running due to issues with
netavark
. As I'm using a minimal Debian image, I'm not sure if something else is missing. At least on my NanoPi R5S Bullseye, it's working without issues. Probably it is related to Debian Bookworm.Steps to reproduce the issue:
apt install podman
podman pull docker.io/nginx
podman run --name docker-nginx -p 8080:80 docker.io/nginx
Describe the results you received:
Describe the results you expected:
Container is able to start
Additional information you deem important (e.g. issue happens only occasionally):
Even
netavark
seems to be missing, it has been installed along withpodman
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes/
Additional environment details (AWS, VirtualBox, physical, etc.):
Minimized Debian Bookworm on a NanoPi R6S