問題
今天在環(huán)境上搭建平臺,執(zhí)行docker-compose up -d 報錯
Error response from daemon: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-b649822bbcff -j RETURN: iptables: No chain/target/match by that name. (exit status 1))
如下圖文章來源:http://www.zghlxwxcb.cn/news/detail-523232.html
方法
這是因為在啟動docker的時候防火墻做了策略,如果容器在運行中,停止防火墻,在操作容器就會報這個錯誤,我們可以重啟docker解決此問題文章來源地址http://www.zghlxwxcb.cn/news/detail-523232.html
systemctl restart docker.service
然后
docker-compose up -d
到了這里,關(guān)于failed to create network error response from daemon filed to setup ip tables問題的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!