我已成功地手动设置泊坞窗群(如:不使用泊坞窗机)以下the official tutorial如何运行泊坞窗,构成对泊坞窗群(不含泊坞窗机)
我能够上运行的容器该群成功地利用搬运工引擎:
docker -H :4000 run redis
我想用泊坞窗,撰写对群运行容器,但我似乎无法得到这个权利。
我必须要弄清楚的第一件事是如何撰写关于港口:4000
的谈话。我通过指定:export DOCKER_HOST=":4000"
来实现这一点。
不过,现在,当我运行搬运工,撰写我收到以下错误:
$docker-compose up
Creating network "root_default" with the default driver
ERROR: Error response from daemon: failed to parse pool request for address space "GlobalDefault" pool "" subpool "": cannot find address space GlobalDefault (most likely the backing datastore is not configured)
感觉就像这个问题有TLS或网络的事,但我敢难倒如何修复它,甚至如何进一步调查。
我使用的是Docker引擎:1.10,Compose 1.6。群:最新
在情况下,它是非常有用的,这是我的搬运工信息:
$docker -H :4000 info
Containers: 7
Running: 5
Paused: 0
Stopped: 2
Images: 7
Server Version: swarm/1.2.0
Role: primary
Strategy: spread
Filters: health, port, dependency, affinity, constraint
Nodes: 2
node02: 10.129.5.211:2375
└ Status: Healthy
└ Containers: 3
└ Reserved CPUs: 0/2
└ Reserved Memory: 0 B/2.053 GiB
└ Labels: executiondriver=, kernelversion=3.13.0-79-generic, operatingsystem=Ubuntu 14.04.4 LTS, storagedriver=aufs
└ Error: (none)
└ UpdatedAt: 2016-04-15T08:28:20Z
└ ServerVersion: 1.11.0
node03: 10.129.6.21:2375
└ Status: Healthy
└ Containers: 4
└ Reserved CPUs: 0/2
└ Reserved Memory: 0 B/2.053 GiB
└ Labels: executiondriver=, kernelversion=3.13.0-79-generic, operatingsystem=Ubuntu 14.04.4 LTS, storagedriver=aufs
└ Error: (none)
└ UpdatedAt: 2016-04-15T08:28:43Z
└ ServerVersion: 1.11.0
Plugins:
Volume:
Network:
Kernel Version: 3.13.0-79-generic
Operating System: linux
Architecture: amd64
CPUs: 4
Total Memory: 4.105 GiB
Name: b156985db557
Docker Root Dir:
Debug mode (client): false
Debug mode (server): false
WARNING: No kernel memory limit support
嗨舒亚。我认为我已经这样做了? (至少在主节点上) - 你能解释一下关于该命令的具体内容是否解决了上述问题? – toast38coza
@ toast38coza错误提示Docker引擎守护进程未配置为针对发现服务工作。上面的建议将修复它 – omercnet
我不认为这是问题..我正在为swarm master运行的确切命令是:'docker run -d -p 4000:4000 swarm manage -H:4000 --replication - -:4000 consul://
toast38coza