From 4c3255cd551a5ac143fbc796c1bef13f2ace1e17 Mon Sep 17 00:00:00 2001 From: Ludovic Ortega Date: Sat, 26 Oct 2024 18:36:22 +0200 Subject: [PATCH] chore(devcontainer): fix podman config Signed-off-by: Ludovic Ortega --- .devcontainer/devcontainer.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 75f4c1b..88ce9a9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -17,8 +17,13 @@ // Configure tool-specific properties. // "customizations": {}, - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - // "remoteUser": "root", + "remoteUser": "vscode", + "runArgs": [ + "--userns=keep-id" + ], + "containerEnv": { + "HOME": "/home/vscode" + }, "mounts": [ // mount kubeconfig files