docker: Error response from daemon: failed to set up container networking 解决办法
问题描述
docker: Error response from daemon: failed to set up container networking: failed to create endpoint yesplaymusic on network bridge: Unable to enable DIRECT ACCESS FILTERING - DROP rule: (iptables failed: iptables --wait -t raw -A PREROUTING -d 172.17.0.2 ! -i docker0 -j DROP: iptables v1.8.11 (legacy): can't initialize iptables table `raw': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. (exit status 3))
- 编辑
/etc/docker/daemon.json.sudo nano /etc/docker/daemon.json - 加入
{ "iptables": false }sudo systemctl restart docker
本文来自博客园,作者:木子欢儿,转载请注明原文链接:https://www.cnblogs.com/HGNET/p/19159100

浙公网安备 33010602011771号