They have some, but a very limited list. Volumes have a little more options, especially if you would use a special driver, otherwise it’s relay on your current system mount point, including options.
1 Like
You are right. I’m using Podman, and it works there:
[opc@podman ~]$ podman run -it --name test --mount type=bind,source=/tmp/1,target=/test,exec,Z alpine:latest /bin/sh
/ #
I expected Docker to also support this basic functionality – but it does not. I’m baffled why do people still use it? It’s bloated and nothing works there…
1 Like
Because Podman is mostly in non-Debian based.
It can work of course. It also has a lot of nice features like rootless, services and ability to run pods (aha, like k8s).