container compose doesn't support extends
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 54/100
調査の方向性
Start by reading the Swift code that decodes service definitions and handles extends; the error points to validation of the mongo service's image field. Reproduce with the provided compose files and compare behavior with Docker Compose. Done means container-compose up resolves the referenced service's build configuration instead of reporting that image or build is missing.
索引モデルが issue の本文から書いたものです。
説明
Looks like extends is not working in container-compose but it is working using Docker desktop
container-compose up
Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "services", intValue: nil),
_DictionaryCodingKey(stringValue: "mongo", intValue: nil), CodingKeys(stringValue: "image", intValue: nil)],
debugDescription: "Service must have either \'image\' or \'build\' specified.", underlyingError: nil))
cat docker-compose.yml
version: '3.1'
services:
mongo:
extends:
file: ./dev/docker-compose/docker-mongo-replica-set/docker-compose.yml
service: mongo-replica
firebase-emulator:
extends:
file: ./dev/docker-compose/firebase-emulator/docker-compose.yml
service: firebase-emulator
container_name: firebase-emulator
ports:
- "4000:4000" #Emulator UI
- "9099:9099" #Firebase Auth
- "9199:9199" #Firebase Cloud Storage
- "9000:9000" #Firebase Realtime database
volumes:
- ./dev/docker-compose/firebase-emulator/data:/firebase/data:rw
- ./firebase.json:/firebase/firebase.json:ro
firebase-emulator-itests: #this is only used for itests, to make sure dev-data is not wiped on the normal fb-emulator. Make sure to adjust your .env.testing-file accordingly
extends:
file: ./dev/docker-compose/firebase-emulator/docker-compose.yml
service: firebase-emulator
container_name: firebase-emulator-itests
ports: #the host-ports have a leading `1` compared to the normal ports, make sure to use that port instead of the normal one in your .env.testing-file
- "14000:14000" #Emulator UI
- "19099:19099" #Firebase Auth
- "19199:19199" #Firebase Cloud Storage
- "19000:19000" #Firebase Realtime database
volumes:
# Mounting a different firebase.json-config into the container to make it run on different ports
- ${PWD}/dev/docker-compose/firebase-emulator/firebase_itest.json:/firebase/firebase.json
networks:
ev:
name: ev
cat ./dev/docker-compose/docker-mongo-replica-set/docker-compose.yml
version: '3.8'
services:
mongo-replica:
build: .
container_name: mongo-replica
ports:
- "27017:27017"
- "27018:27018"
- "27019:27019"
volumes:
- ./data/mongo1:/data/mongo1
- ./data/mongo2:/data/mongo2
- ./data/mongo3:/data/mongo3
container-compose up
Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "services", intValue: nil), _DictionaryCodingKey(stringValue: "mongo", intValue: nil), CodingKeys(stringValue: "image", intValue: nil)], debugDescription: "Service must have either \'image\' or \'build\' specified.", underlyingError: nil))
- 主要言語
- Swift
- スター
- 1k
- フォーク
- 61
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Mcrich23/Container-Compose のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
Mcrich23/Container-Compose#197 ·
メンテナーはふだん 1 日以内に返信
-
SIGINT/SIGTERM ignored during startup phase & healthcheck wait in foreground up対応中かも @georgettica が 27 日前に担当しました。 オープン
Mcrich23/Container-Compose#165 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Mcrich23/Container-Compose#137 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
DecodingError.typeMismatch in build args再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
Mcrich23/Container-Compose#136 · コメント 1 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Containers launch sequentially - can they be launched concurrently?再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Mcrich23/Container-Compose#128 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
Mcrich23/Container-Compose の issue をすべて見る
似ている issue
-
milestone-3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Harsha0912/recall#71 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
meshtastic/Meshtastic-Apple#3132 ·
メンテナーはふだん 1 日以内に返信
-
approved
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
MonitorControl/MonitorControl#1949 ·
-
Bug
難易度 1/5 1時間未満 初心者へのやさしさ 91/100