abiosoft / abiosoft/colima

Port forwarding does not work when using docker swarm

オープン
#135 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
30.8k
フォーク
613
PR マージ指標
30日以内にマージされた PR はありません

説明

Port forwarding works well when running containers. However, when using a stack in docker swarm, I cannot access it from my Mac.

To reproduce, here is the YAML (test.yml) file:

```yaml
version: '3.7'
services:
test:
image: nginx:1.21.5-alpine
ports:
- 80:80
```

To initialize a docker swarm I use `docker swarm init`. Afterwards, I create the stack with `docker stack deploy -c test.yml teststack1`

If I run `curl http://localhost` it does not fail to connect, but is stuck after initial connection.

This was tested with a fresh install today (`brew install colima`) and no custom settings.

Edit: YAML code highlighting

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。