Docker: https://docs.docker.com/storage/bind-mounts/ Podman: https://docs.podman.io/en/latest/markdown/podman-run.1.html#mount-type-type-type-specific-option
Activity
benz0li commentedon Jun 27, 2023
Yes.
By default, mount type
volumeis used, so Dev Containers behave the same as Codespaces.When working with Docker Desktop,
volumesare more performant thanbind mounts.benz0li commentedon Jun 27, 2023
To work with a
bind mount, e.g. modify thedevcontainer.jsonfor Python base as follows:ℹ️ This will mount
<root-of-this-repository>/.bind-mounts/python-base-home-vscodeto/home/vscodein the Dev Container.