44 "name" : " devcontainer-cli" ,
55 "dockerFile" : " Dockerfile" ,
66 "build" : {
7- "cacheFrom" : " ghcr.io/stuartleeks/devcontainer-cli-devcontainer"
7+ "cacheFrom" : " ghcr.io/stuartleeks/devcontainer-cli-devcontainer" ,
8+ "args" : {
9+ // To ensure that the group ID for the docker group in the container
10+ // matches the group ID on the host, add this to your .bash_profile on the host
11+ // export DOCKER_GROUP_ID=$(getent group docker | awk -F ":" '{ print $3 }')
12+ "DOCKER_GROUP_ID" : " ${localEnv:DOCKER_GROUP_ID}"
13+ }
814 },
915 "runArgs" : [
1016 // Uncomment the next line to use a non-root user. On Linux, this will prevent
4955 " darkriszty.markdown-table-prettify" ,
5056 " davidanson.vscode-markdownlint" ,
5157 " mushan.vscode-paste-image"
52- ],
58+ ,
59+ " ms-azuretools.vscode-docker" ,],
5360
5461 // Use 'forwardPorts' to make a list of ports inside the container available locally.
5562 // "forwardPorts": [],
6976 // Mounts the .azure host folder into the dev container to pick up host az CLI login details
7077 " type=bind,source=${env:HOME}${env:USERPROFILE}/.azure,target=/home/vscode/.azure" ,
7178 // Mount host docker socket
72- " type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock" ,
79+ " type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock" ,
7380 ],
7481}
0 commit comments