These solutions convey to VS Code to mount the Workspace with the proper SELinux context, create a person namespace that maps your UID and GID to the identical values Within the container, and use vscode as your username In the container. cgroups, Selinux or Apparmor, common unix permissions, Linux namespaces https://bibisoutherncontainers.com/