我正在尝试使用docker swarm在几台主机上创建Elasticsearch集群。 我按如下方式创建我的Docker网络:
sudo docker network create --scope=swarm --driver=overlay --subnet=172.27.0.0/16 elk-network
运行docker-compose文件时,容器无法启动,并且从docker获取以下日志记录:
2019-03-01T23:52:36.851714113Z network destroy i4grfo02yxfcl7hdgk6t6gcx3 (name=elk-network, type=overlay)
2019-03-01T23:52:40.345863884Z network create i4grfo02yxfcl7hdgk6t6gcx3 (name=elk-network, type=overlay)
2019-03-01T23:52:41.892960639Z network destroy i4grfo02yxfcl7hdgk6t6gcx3 (name=elk-network, type=overlay)
2019-03-01T23:52:45.282313122Z network create i4grfo02yxfcl7hdgk6t6gcx3 (name=elk-network, type=overlay)
2019-03-01T23:52:46.868530968Z network destroy i4grfo02yxfcl7hdgk6t6gcx3 (name=elk-network, type=overlay)
2019-03-01T23:52:50.463538872Z network create i4grfo02yxfcl7hdgk6t6gcx3 (name=elk-network, type=overlay)
有人遇到这个问题吗? BR,若昂