Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ExtensionVM does not resolve containers in a composefile

Aperta
#201 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, docker-compose
Ambito
backend, cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation enhancement

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:

  1. Create an extension that uses more than 2 containers through compose file
  2. Try to execute any command with ddClient.extension.vm?.cli.exec
  3. 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

Lingua principale
Nessun dato sulla lingua
Stelle
157
Fork
56
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di docker/extensions-sdk

Tutte le issue di docker/extensions-sdk

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.