Skip to content

Commit 6122af3

Browse files
committed
chore: add commented podman workarounds
1 parent 51182d6 commit 6122af3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@
5151
"memory": "8gb",
5252
"storage": "10gb" // rough estimate of all dev packages & a handful of ai-models
5353
},
54-
"runArgs": ["--env-file", ".devcontainer/.env"],
54+
"runArgs": [
55+
"--env-file",
56+
".devcontainer/.env"
57+
// "--userns=keep-id", // Uncomment if using podman instead of docker.
58+
// "--device=nvidia.com/gpu=all", // Uncomment if using podman instead of docker.
59+
],
5560
"initializeCommand": [".devcontainer/scripts/init"],
5661
"onCreateCommand": "pnpm config --global set store-dir $XDG_CACHE_HOME/pnpm",
5762
"updateContentCommand": "pnpm install --dir invokeai/frontend/web --prefer-offline",

0 commit comments

Comments
 (0)