Limitations of the Docker-outside-of-Docker Feature
mainThe docker-outside-of-docker Feature connects to the host's Docker (or Moby) engine. Users should be aware of the following constraints:
- Engine Compatibility: Designed for Docker or Moby. Other container engines are untested.
- Architecture: The host and the container must share the same chip architecture (e.g., you cannot use an emulated x86 image on Apple Silicon via Docker Desktop).
- Bind Mounts: By default, this approach does not enable bind mounting the workspace folder and cannot support folders outside the workspace. If you require bind mounting, consider using the Docker-in-Docker Feature instead.
- VS Code Volumes: The
${localWorkspaceFolder}variable is unavailable when using the Clone Repository in Container Volume command in the VS Code Dev Containers extension.