Skip to content

Instantly share code, notes, and snippets.

@jouyouyun
Created May 31, 2019 12:41
Show Gist options
  • Save jouyouyun/4754e918ecfa7dc6e3f65c85e078aaa2 to your computer and use it in GitHub Desktop.
Save jouyouyun/4754e918ecfa7dc6e3f65c85e078aaa2 to your computer and use it in GitHub Desktop.
Docker FAQ

Docker FAQ

iptables: No chain/target/match by that name

此问题与 iptables filter 有关,处理方法是:

  1. 清理 filter 规则
sudo iptables -t filter -F
sudo iptables -t filter -X
  1. 重启 docker.service
sudo systemctl restart docker.service

如果每次启动都会出现此问题,建议把 docker.service 的启动放到 iptables setup script 之后。 此方案来源于: Running docker container : iptables: No chain/target/match by that name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment