Skip to content

Commit fbd19b6

Browse files
Podman's devcontainer
Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr>
1 parent 070dffc commit fbd19b6

3 files changed

Lines changed: 28 additions & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Score Dev Container",
2+
"name": "Score Dev Container with Docker",
33
"image": "mcr.microsoft.com/devcontainers/base:noble",
44
"features": {
55
"ghcr.io/devcontainers/features/docker-in-docker:2": {
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "Score Dev Container with Podman",
3+
"image": "mcr.microsoft.com/devcontainers/base:noble",
4+
"features": {
5+
},
6+
"remoteEnv": {
7+
"PODMAN_USERNS": "keep-id"
8+
},
9+
"containerUser": "vscode",
10+
"postCreateCommand": "bash .devcontainer/podman/installPodman.sh",
11+
"customizations": {
12+
"vscode": {
13+
"extensions": [
14+
"redhat.vscode-yaml"
15+
],
16+
"settings": {
17+
"yaml.schemas": {
18+
"https://raw.githubusercontent.com/score-spec/spec/main/score-v1b1.json": "score.yaml"
19+
},
20+
"docker.dockerPath": "podman"
21+
}
22+
}
23+
}
24+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
#systemctl enable --now --user podman.socket

0 commit comments

Comments
 (0)