-
Docker: https://docs.docker.com/storage/bind-mounts/ |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 2 replies
-
Yes. By default, mount type When working with Docker Desktop, |
Beta Was this translation helpful? Give feedback.
-
To work with a diff --git a/.devcontainer/python-base/devcontainer.json b/.devcontainer/python-base/devcontainer.json
index b31e40c..dae65cc 100644
--- a/.devcontainer/python-base/devcontainer.json
+++ b/.devcontainer/python-base/devcontainer.json
@@ -77,8 +77,8 @@
// Set 'remoteUser' to 'root' to connect as root instead.
"remoteUser": "vscode",
- "workspaceMount": "source=python-base-home-vscode,target=/home/vscode,type=volume",
- // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/python-base-home-vscode,target=/home/vscode,type=bind",
+ // "workspaceMount": "source=python-base-home-vscode,target=/home/vscode,type=volume",
+ "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/python-base-home-vscode,target=/home/vscode,type=bind",
"workspaceFolder": "/home/vscode"
// "remoteUser": "root", ℹ️ This will mount |
Beta Was this translation helpful? Give feedback.
To work with a
bind mount
, e.g. modify thedevcontainer.json
for Python base as follows: