Open nlvw opened 2 years ago
Any movement on this issue?
Please do not default to mounting home directory in the container. And please caveat every time when talking about this technique.
SSH keys on the host should stay secure. And a primary use case of containers is doing insecure things with isolation.
Even if it isn't the default behavior there's no need to "caveat" the usage. These are develop environments and different levels of isolation are understandable.
Progress?
Improve default handling of both user Home directories and the use of Podman.
This post is mostly to document Podman specific configuration for devcontainer.json to get it working in a friendly fashion. The feature request part is more of a plea to improve the default support so a lot of this custom config is unnecessary.
3.1. 'Z'/'z' should be avoided in bind/volume mounts as it changes the selinux context on files permanently which can break regular access to those files. For instance if you were to mount
$HOME/.ssh
you would break key based ssh authentication for that user until the context is manually reset.settings.json
devcontainer.json (podman specific settings)
Relates to: Remote - Containers