devcontainers / devcontainers/templates

docker transparency workspace bind mounts

Open
#115 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.4k
Forks
393
Avg merge
2h 3m
Merged PRs (30d)
1

Description

If you need to mount folders within the dev container into your own containers using docker-outside-of-docker and you do not want to use Docker in Docker to avoid a potential performance penalty.

This is possible by making use of the hosts local workspace value as bind mount location inside the container.

This is possible without making use of Docker in Docker to avoid performance penalties.

Like In GitHub Codespaces, the workspace folder is **available in the same place on the host as it is in the container,**so you can bind workspace contents as you would normally by doing as following:

https://github.com/DavidBerichon/templates/pull/1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.