Another docker experience on Proxmox

One other note... any new overlay networks you create have to get the same sysctl -w net.ipv4.ip_forward=1 treatment, or they don't work.

I've moved the fix.ingress.start script into "/etc/periodic/15min" cron folder (on alpine) That way I create one - just wait a few minutes, and it works. All mine seem to start with "lb_" so I modified the script.

Code:
#!/bin/bash
sysctl -w net.ipv6.conf.all.disable_ipv6=1
for lp in {1..60};do
        if exists=$(test -f /run/docker/netns/ingress_sbox)
        then
                nsenter --net=/run/docker/netns/ingress_sbox sysctl -w net.ipv4.ip_forward=1
                for name in $(find /run/docker/netns/ | grep -i lb_);do
                        nsenter --net="${name}" sysctl -w net.ipv4.ip_forward=1
                done
                exit
        else
                echo "waiting $lp/60 - ingress_sbox does not exist"
                sleep 1
        fi
done

any reason why ip_forward shouldn't be set on everything in that folder?


@Drallas - it's starting to feel like we have a few more things to add to your awesome page.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!