Hi team,
I’m getting for following error on my Nginx container and it has failed to restart
{
“Id”: “04af0c32c47271143c8476084a8f24876bc01cfb05ee1baa26cd11cef31709a0”,
“Created”: “2023-03-28T15:22:43.436141621Z”,
“Path”: “/docker-entrypoint.sh”,
“Args”: [
“nginx”,
“-g”,
“daemon off;”
],
“State”: {
“Status”: “exited”,
“Running”: false,
“Paused”: false,
“Restarting”: false,
“OOMKilled”: false,
“Dead”: false,
“Pid”: 0,
“ExitCode”: 128,
“Error”: “driver failed programming external connectivity on endpoint cht_nginx_1 (9ad227f52f1f4fee312dee409d685d2f70bc76da607a46f07454131d885ecbe0): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 443 -j DNAT --to-destination 172.22.0.8:443 ! -i br-b45a784f98e8: iptables: No chain/target/match by that name.\n (exit status 1))”,
“StartedAt”: “2023-03-28T15:22:44.326158681Z”,
“FinishedAt”: “2023-03-30T01:14:45.619266665Z”
},
Hi @ewafula !
It looks like maybe there’s an error with your Docker daemon interacting with your iptables according to this SO post. Can you try restarting Docker (systemctl restart docker
) and let us know if that fixes it?
Thank you @mrjones,
This restarting has resolved the problem.
1 Like
Wonderful - glad it was an easy fix!