运行docker stack deploy挂起

时间:2019-05-10 06:45:18

标签: docker kubernetes

我正在尝试将docker-compose设置运行到Docker for Desktop的默认localhost kubernetes集群中。

我运行以下命令,它只是..挂起了?

> docker stack deploy --orchestrator=kubernetes -c docker-compose.yml hornet

Ignoring unsupported options: build

Ignoring deprecated options:

container_name: Setting the container name is not supported.

expose: Exposing ports is unnecessary - services on the same network can access each other's containers on any port.

top-level network "backend" is ignored
top-level network "frontend" is ignored
service "website.public": network "frontend" is ignored
service "website.public": container_name is deprecated
service "website.public": build is ignored
service "website.public": depends_on are ignored
....
<snip> heaps of services 'ignored'
....

Waiting for the stack to be stable and running...

docker-compose up命令在本地运行时效果很好。

有什么办法可以尝试查看引擎盖下发生的情况吗?

0 个答案:

没有答案