2022-11-10 12:49:16 +00:00
|
|
|
{
|
|
|
|
|
"name": "Podman Desktop",
|
|
|
|
|
"build": {
|
|
|
|
|
"dockerfile": "Containerfile"
|
|
|
|
|
},
|
|
|
|
|
// do not use root
|
|
|
|
|
"containerUser": "podman-desktop",
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
|
|
|
"extensions": ["svelte.svelte-vscode", "bradlc.vscode-tailwindcss"],
|
|
|
|
|
"features": {},
|
|
|
|
|
"runArgs": [
|
|
|
|
|
"--cap-add=sys_admin",
|
|
|
|
|
"--security-opt",
|
|
|
|
|
"seccomp=unconfined",
|
|
|
|
|
"--device",
|
|
|
|
|
"/dev/fuse",
|
|
|
|
|
"--security-opt",
|
|
|
|
|
"label=disable",
|
|
|
|
|
"--security-opt",
|
|
|
|
|
"apparmor=unconfined"
|
|
|
|
|
],
|
|
|
|
|
"postStartCommand": "${containerWorkspaceFolder}/.devcontainer/postStartCommand.sh",
|
|
|
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
|
|
|
|
|
"workspaceFolder": "/workspace",
|
|
|
|
|
"onCreateCommand": "${containerWorkspaceFolder}/.devcontainer/onCreateCommand.sh",
|
|
|
|
|
"updateContentCommand": "${containerWorkspaceFolder}/.devcontainer/updateContentCommand.sh",
|
|
|
|
|
"remoteEnv": {
|
|
|
|
|
"DISPLAY": ":0"
|
|
|
|
|
},
|
|
|
|
|
"portsAttributes": {
|
|
|
|
|
"9000": {
|
|
|
|
|
"label": "vnc",
|
|
|
|
|
"onAutoForward": "openPreview"
|
|
|
|
|
},
|
|
|
|
|
"3000": {
|
|
|
|
|
"label": "website"
|
|
|
|
|
}
|
2022-11-16 15:44:59 +00:00
|
|
|
},
|
|
|
|
|
"hostRequirements": {
|
|
|
|
|
"memory": "8gb"
|
2022-11-10 12:49:16 +00:00
|
|
|
}
|
|
|
|
|
}
|