You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iptables doesn't have -C/--check flag in version v1.4.7 which shipped with CentOS 6.5 #6831
Docker will create an iptables masquerading rule on the host machine when it starts. But old version iptables doesn't have this flag, docker will create duplicate rule after restart.
So I ended up looking at it for other reasons. I’m not entirely sure what —check does, but in the —wait case we run ‘iptables -nL —wait’ and wait for a 0 exit code.
I think this might be a good option, presuming there’s no functional difference, and I can probably put the patch together for this later tonight.
So, I really like @jfrazelle's idea of bumping the dep, but I don't know if this is a realistic thing in RHEL/CentOS land, even though it's a minor revision - would that be a possible fix?
Activity
vieux commentedon Jul 3, 2014
ping @tianon ?
tianon commentedon Jul 3, 2014
I don't have anything to add here; we need someone familiar with Docker's iptables code, and maybe someone familiar with ancient iptables nonsense. :)
erikh commentedon Jul 3, 2014
So I ended up looking at it for other reasons. I’m not entirely sure what —check does, but in the —wait case we run ‘iptables -nL —wait’ and wait for a 0 exit code.
I think this might be a good option, presuming there’s no functional difference, and I can probably put the patch together for this later tonight.
-Erik
vbatts commentedon Jul 10, 2014
same is true on RHEL6.5
tianon commentedon Jul 10, 2014
So, I really like @jfrazelle's idea of bumping the dep, but I don't know if this is a realistic thing in RHEL/CentOS land, even though it's a minor revision - would that be a possible fix?
tianon commentedon Jul 10, 2014
As @vbatts noted on the PR, that's not really feasible here. Bummer.
tianon commentedon Jul 10, 2014
I can totally read - it's way too early. So @vbatts is going to look into whether bumping is feasible, but it may not be.