docker - 运行 docker stack deploy 只是挂起
问题描述
我正在尝试将我的docker-compose
设置运行到我的 localhost kubernetes 集群中,该集群默认使用 Docker for Desktop。
我运行以下命令,它只是..挂起???
> 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
当我运行该命令时,该命令在本地运行良好。
有什么方法可以尝试看看引擎盖下发生了什么,这会挂起这个吗?
解决方案
推荐阅读
- html - 如何在查找功能期间将对象固定在 iOS 上的 Chrome 屏幕底部?
- php - 根据 laravel 现有列中的值添加新列
- sql - 计算列上的窗口函数
- angular - 量角器发生错误时如何打印elmentFinder的值(字符串)
- variables - arudino 有没有一种方法可以在它们通过串行连接时将值存储到不同的变量中?
- python - 如何使用 PyMongo 查找所有数据库的索引列表?
- couchdb - 由于修订,CouchDB 占用了大量空间
- python - 如何写入子目录 Python 2.7 中的文件?
- tensorflow - 验证集上的去噪自动编码器给出了不好的结果,甚至对于训练图像在实例中随机噪声
- python - 如何解决 FileNotFoundError: [Errno 2] No such file or directory for Python 3.7/Mac