Skip to content

workspaceMount support --volumes-from #666

Open
@Brantfang

Description

@Brantfang

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?

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions