diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e69dc7b..3fc7543 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -5,6 +5,7 @@ #------------------------------------------------------------------------------------------------------------- FROM mcr.microsoft.com/dotnet/sdk:7.0 + # This Dockerfile adds a non-root user with sudo access. Use the "remoteUser" # property in devcontainer.json to use it. On Linux, the container user's GID/UIDs # will be updated to match your local UID/GID (when using the dockerFile property). diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6264a06..1448ea9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,10 +15,18 @@ // Comment out to connect as root user. See https://aka.ms/vscode-remote/containers/non-root. // make sure this is the same as USERNAME above "remoteUser": "vscode", - + "runArgs": [ + "-v", + "/var/run/docker.sock:/var/run/docker.sock" + ], // Set *default* container specific settings.json values on container create. "settings": { - "terminal.integrated.shell.linux": "/bin/bash" + "terminal.integrated.profiles.linux": { + "bash": { + "path": "bash", + "icon": "terminal-bash" + }, + }, }, // Add the IDs of extensions you want installed when the container is created.