microsoft / vscode-dev-containers

NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!
https://aka.ms/vscode-remote
MIT License
4.7k stars 1.41k forks source link

Docker-In-Docker Mounts Confussion #1674

Closed andar1an closed 1 year ago

andar1an commented 1 year ago

https://stackoverflow.com/questions/74145546/docker-in-docker-devcontainer-json-mount-confussion

Docker-In-Docker mounts. Where does "dind-var-lib-docker" come from in : "mounts": ["source=dind-var-lib-docker,target=/var/lib/docker,type=volume"],

andar1an commented 1 year ago

Creates the Volume. I thought that a volume mount required the volume or it would throw an error.