-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it work with Podman? #1
Comments
Yes.
– Dev Containers Docker options (2023-06-26) |
You must disable feature docker-outside-of-docker and are supposed to run the Dev Container as diff --git a/.devcontainer/julia-base/devcontainer.json b/.devcontainer/julia-base/devcontainer.json
index fe18c76..85c8410 100644
--- a/.devcontainer/julia-base/devcontainer.json
+++ b/.devcontainer/julia-base/devcontainer.json
@@ -28,9 +28,6 @@
"username": "vscode",
"userUid": "automatic",
"userGid": "automatic"
- },
- "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
- "moby": false
}
},
@@ -52,8 +49,7 @@
"julialang.language-julia",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
- "ms-python.black-formatter",
- "ms-azuretools.vscode-docker"
+ "ms-python.black-formatter"
],
"settings": {
"gitlens.graph.statusBar.enabled": false,
@@ -78,14 +74,8 @@
}
},
- // Set 'remoteUser' to 'root' to connect as root instead.
- "remoteUser": "vscode",
- "workspaceMount": "source=julia-base-home-vscode,target=/home/vscode,type=volume",
- // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/julia-base-home-vscode,target=/home/vscode,type=bind",
- "workspaceFolder": "/home/vscode"
-
- // "remoteUser": "root",
- // "workspaceMount": "source=julia-base-root,target=/root,type=volume",
- // // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/julia-base-root,target=/root,type=bind",
- // "workspaceFolder": "/root"
+ "remoteUser": "root",
+ "workspaceMount": "source=julia-base-root,target=/root,type=volume",
+ // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/julia-base-root,target=/root,type=bind",
+ "workspaceFolder": "/root"
} |
❗ NVIDIA Container Toolkit: Should you not use the Container Device Interface (CDI), ensure that the For CUDA-enabled versions, you also need to modify the diff --git a/.devcontainer/cuda-julia-base/devcontainer.json b/.devcontainer/cuda-julia-base/devcontainer.json
index ac01b36..e43f1d8 100644
--- a/.devcontainer/cuda-julia-base/devcontainer.json
+++ b/.devcontainer/cuda-julia-base/devcontainer.json
@@ -28,9 +28,6 @@
"username": "vscode",
"userUid": "automatic",
"userGid": "automatic"
- },
- "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
- "moby": false
}
},
@@ -52,8 +49,7 @@
"julialang.language-julia",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
- "ms-python.black-formatter",
- "ms-azuretools.vscode-docker"
+ "ms-python.black-formatter"
],
"settings": {
"gitlens.graph.statusBar.enabled": false,
@@ -79,15 +75,10 @@
},
// Set 'remoteUser' to 'root' to connect as root instead.
- "remoteUser": "vscode",
- "workspaceMount": "source=cuda-julia-base-home-vscode,target=/home/vscode,type=volume",
- // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/cuda-julia-base-home-vscode,target=/home/vscode,type=bind",
- "workspaceFolder": "/home/vscode",
+ "remoteUser": "root",
+ "workspaceMount": "source=cuda-julia-base-root,target=/root,type=volume",
+ // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/cuda-julia-base-root,target=/root,type=bind",
+ "workspaceFolder": "/root",
- // "remoteUser": "root",
- // "workspaceMount": "source=cuda-julia-base-root,target=/root,type=volume",
- // // "workspaceMount": "source=${localWorkspaceFolder}/.bind-mounts/cuda-julia-base-root,target=/root,type=bind",
- // "workspaceFolder": "/root",
-
- "runArgs": [ "--gpus=all" ]
+ "runArgs": [ "--device", "nvidia.com/gpu=all" ]
} 👉 Should you not use the CDI: |
https://podman.io
The text was updated successfully, but these errors were encountered: