weave launch --nickame docker-weave WARNING: existing iptables rule '-A FORWARD -j REJECT --reject-with icmp-host-prohibited' will block name resolution via weaveDNS - please reconfigure your firewall. The weave container has died. Consult the container logs for further details.
时间: 2024-03-16 22:47:49 浏览: 90
It looks like you are trying to launch a Weave network but encountering an issue with your firewall settings. The warning message you provided suggests that an existing iptables rule is blocking name resolution via WeaveDNS, which could cause issues with your network.
To fix this issue, you should modify your firewall settings to allow name resolution via WeaveDNS. This can be done by removing the existing iptables rule or by adding a new rule to allow traffic on the appropriate ports.
You can also try launching the Weave network without WeaveDNS by adding the `--no-dns` flag to the `weave launch` command. This will disable WeaveDNS and allow you to launch the network without encountering the name resolution issue.
If the Weave container continues to die, you should consult the container logs for further details on the cause of the failure. You can view the logs by running the following command:
```
docker logs <container_name_or_id>
```
Once you have identified the issue, you can work on resolving it and relaunching the Weave network.
阅读全文