Score:0

Docker connectivity issue due to conflict with iptables-persitent

cn flag

I have run into a problem with my docker host.

Setup:

Docker installation with multiple containers, serving websites. Apache server on host is used as reverse proxy.

Symptoms:

All websites show error 502 ProxyError

Score:0
cn flag

Cause:

Docker adds rules to the iptables chain. These rules can be different each time docker service is started.
If we use iptables-persistent to save rules in configuration file while docker service is running, all temporary docker rules are saved to the configuration and are not temporary anymore.
If we now reboot the server, the stored rules are loaded, and are different than the docker network configuration. (in my case ip address of the container has changed).

Solution

I Removed all docker-created rules from the configuration files, and restarted the docker service.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.