ExtensionVM does not resolve containers in a composefile
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
调研方向
Start at the ddClient.extension.vm?.cli.exec entry point and inspect how a compose group and its target container are resolved. Reproduce the issue with an extension using more than two containers, then check the debug-window error. Done means exec can select and run a command in any specific container in the compose group.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
When trying to execute commands using the CLI in the VM using a compose file, the exec call tries to run the command into the compose grouping name and there is no way to access a specific container in the compose group.
Add the steps to reproduce
Steps to reproduce the behavior:
- Create an extension that uses more than 2 containers through compose file
- Try to execute any command with
ddClient.extension.vm?.cli.exec - See the error message in the debug window
Describe the expected behavior
There should be a way to get into any of the containers of the compose group and execute the command in that container.
Output of docker extension version:
Client Version: v0.2.4
Server API Version: 0.2.3
Output of docker version:
Client: Docker Engine - Community
Cloud integration: v1.0.25
Version: 20.10.16
API version: 1.41
Go version: go1.17.10
Git commit: aa7e414
Built: Thu May 12 09:17:39 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Desktop
Engine:
Version: 20.10.16
API version: 1.41 (minimum version 1.12)
Go version: go1.17.10
Git commit: f756502
Built: Thu May 12 09:15:42 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.4
GitCommit: 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16
runc:
Version: 1.1.1
GitCommit: v1.1.1-0-g52de29d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Additional context
Using WSL2 in Windows 10
- 主要语言
- 没有语言数据
- 星标
- 157
- 派生
- 56
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker/extensions-sdk 的其他 Issue
-
bug
难度 3/5 1-2 天 新手友好度 45/100
docker/extensions-sdk#305 ·
-
bug
难度 2/5 1-3 小时 新手友好度 45/100
docker/extensions-sdk#304 ·
-
bug
难度 3/5 1-2 天 新手友好度 35/100
docker/extensions-sdk#303 ·
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
docker/extensions-sdk#301 ·
-
bug
难度 3/5 1-2 天 新手友好度 25/100
docker/extensions-sdk#300 · 1 条评论 ·
查看 docker/extensions-sdk 的全部 Issue
相似的 Issue
-
feature
难度 2/5 1-3 小时 新手友好度 60/100
manyfold3d/manyfold#7346 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 6 天内回复
-
Byse new domain未关闭
难度 2/5 1-3 小时 新手友好度 62/100
Gujal00/ResolveURL#1525 ·
维护者通常 1 天内回复
-
Serialisation fails with pydantic 2.14: wrap serialisers pass SerializationInfo as index_key可能已有人在做 @hugohills-regnosys 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
finos/rune-python-runtime#45 ·
-
难度 2/5 1-3 小时 新手友好度 70/100