Docker cannot start - userland proxy timeout

Hello, I am experiencing a persistent Docker networking issue on TrueNAS SCALE hat prevents Portainer (and any container exposing ports) from starting.

I configured portainer from the app menu and my stack in portainer. Everything worked fine for several weeks, but not anymore.

Every time I try to start a container, I have this issue : (ERROR) app_lifecycle.compose_action():58 - Failed ‘up’ action for ‘portainer’ app: Network ix-portainer_default Creating\n Network ix-portainer_default Created\n Container ix-portainer-portainer-1 Creating\n Container ix-portainer-portainer-1 Created\n Container ix-portainer-portainer-1 Starting\nError response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint ix-portainer-portainer-1 (9695e14f5215e416b3948593c5dfb50a081ffb583b371e5d053609c95f83eed4): failed to start userland proxy for port mapping 0.0.0.0:41015:172.16.1.2:41015/tcp: timed out starting the userland proxy\n

Before starting the container I checked with command like lsof -i :41015 if the port was already taken. Nothing at all

I deleted all the containers and networks, except bridge,host and none.
I also tried to reset docker with these commands, but nothing changed.

sudo systemctl stop docker.socket
sudo systemctl stop docker.service
sudo pkill -9 dockerd
sudo pkill -9 docker-proxy
sudo rm -rf /var/lib/docker/network/files
sudo iptables -t nat -F
sudo iptables -t filter -F
sudo iptables -t mangle -F
sudo iptables -P FORWARD ACCEPT
sudo ip6tables -P FORWARD ACCEPT
sudo systemctl start docker.socket
sudo systemctl start docker.service
sudo systemctl status docker.service

I tried to use another port, but same issue.

The only possibility to make a container work is not to expose a port, which does not allow me to exploit them.

I dont know what to do to make it work again.

Thank you to everyone who takes the time to read or respond to me.