#Troubleshooting Podman on macos

1 messages · Page 1 of 1 (latest)

spare mica
#

I've been trying to get Podman to work with Dagger, but I can't really get the fixes at https://docs.dagger.io/troubleshooting#dagger-restarts-with-a-cni-setup-error to work in a sticky way.

I e, everytime I restart podman I have to manually run podman machine ssh 'sudo modprobe iptable_nat' in order for Dagger to be able to communicate with Podman. Is there something I'm missing with my setup that is not covered by the Dagger docs?

This page describes problems you may encounter when using Dagger, and their solutions.

spare mica
#

After speaking a bit with the friendly people at the Podman community it turns out that the troubleshooting idea presented on the Dagger page above actually works - you just have to put a .conf-suffix to the file. This is the only way that the iptable_nat will be loaded.

solar crown
spare mica
solar crown
#

just validating that we should update our docs

#

maybe.. the file has been renamed to something like modules.conf and our docs broke at some point? 🤔

spare mica
#

in short, it will look for files like these:

           /etc/modules-load.d/*.conf
           /run/modules-load.d/*.conf
           /usr/local/lib/modules-load.d/*.conf
           /usr/lib/modules-load.d/*.conf
spare mica
solar crown