设置IP表失败:无法启用NAT规则

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

现在,我想使用./startFabric.sh启动hyperledger fabric,但随后收到以下错误:

[email protected]:~/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

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

转载请注明出处:http://www.shenzhenzsmy.com/article/20230526/1373674.html