gpt4 book ai didi

docker - 无法设置 IP 表 : Unable to enable NAT rule

转载 作者:行者123 更新时间:2023-12-04 12:44:01 29 4
gpt4 key购买 nike

我正在做这个教程:https://hyperledger.github.io/composer/latest/installing/development-tools

现在我想用 ./startFabric.sh 启动 super 账本结构但后来我收到了这个错误:

dany@DESKTOP-IQB2P0B:~/fabric-dev-servers$ ./startFabric.sh
Development only script for Hyperledger Fabric control
Running 'startFabric.sh'
FABRIC_VERSION is set to 'hlfv12'
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)
Removing network composer_default
WARNING: Network composer_default not found.
Creating network "composer_default" with the default driver
ERROR: Failed to Setup IP tables: Unable to enable NAT rule: (iptables failed: iptables --wait -t nat -I POSTROUTING -s 172.22.0.0/16 ! -o br-b49f324730b7 -j MASQUERADE: iptables: No chain/target/match by that name.
(exit status 1))

在出现此错误之前: https://github.com/docker/compose/issues/4181

但我修复了它,现在我有这个错误......

最佳答案

尝试:

 iptables -t filter -N DOCKER

systemctl restart docker
检查这个:
https://github.com/moby/moby/issues/16816#issuecomment-179717327

关于docker - 无法设置 IP 表 : Unable to enable NAT rule,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54380847/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com