89luca89/distrobox

[Feature] Optionally mount host file system as overlay

89luca89 opened this issue · 1 comments

Similar to #119

It could be useful to mount the host file system as overlay, so that we are sure that the host file system is not touched outside the container.

This is also useful for #28

Example:

distrobox create --image alpine:latest --name test-alpine --home /tmp/test-home --overlay-host

Specifically the home should then be mounted with the :O flag:

[...]
--volume /:/run/host:O
[...]

Closing this
It doesn't make a lot of sense nor in sanboxing optic, nor in normal usage