Limit which directories are exposed to Podman machine

Author: KrinkleCreated Jul 22, 2023Updated Oct 1, 2026
Labelsarea/extension/podman 🦭lifecycle/staleexternal-user

Is your enhancement related to a problem? Please describe

For security reasons, I'd like to centrally configure which directories are exposed to the Podman machine. This way, when using scripts that indirectly invoke podman or docker with mount parameters, I know that only the directories I've configured can be exposed and mounted, and not anything from anywhere on the file system.

Describe the solution you'd like

Docker Desktop solves it as follows:

Describe alternatives you've considered

No response

Additional context

No response

Source: podman-desktop/podman-desktop