devcontainers / devcontainers/cli

workspaceMount support --volumes-from

Aperta
#666 8 commenti 0 reazioni 1 assegnatario Rivendicata da @chrmarti Vedi su GitHub
info-needed
Lingua principale
TypeScript
Stelle
3k
Fork
457
Merge medio
13h 17m
PR unite (30g)
6

Descrizione

I have a image (include docker cli, node, git and @devcontainers/cli).
when I run this image (docker run --it -v /var/run/docker.sock:/var/run/docker.sock imageName) and use git inside to download the development container.
Next, use the @devcontainers/cli to start the development container (devcontainer up --workspace-folder ) and find that the development container cannot mount the development directory in the current container.
What is the solution to mounting the development directory in the current container in a development container?
I can mount a volume in the current container and then use git to download the development directory to the volume. Then when running devcontainer up, let the dev container --volume-from the current container's volume?how to do?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.