devcontainers / devcontainers/cli
workspaceMount support --volumes-from
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3k
- Forks
- 457
- Ø Merge
- 13 Std. 17 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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?
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.