devcontainers / devcontainers/cli

workspaceMount support --volumes-from

Open
#666 8 comments 0 reactions 1 assignee Claimed by @chrmarti View on GitHub
info-needed
Dominant language
TypeScript
Stars
3k
Forks
457
Avg merge
13h 17m
Merged PRs (30d)
6

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.