Hey,
im testing the new container package and im wondering if it is possible to mount a file instead of a directory.
Ive tried to mount a file but the mikrotik is trying to mount it as a dir.
Has someone tested that?
... im wondering if it is possible to mount a file ...
Linux requires loopback filesystem driver for that
So I don't see this happening.Bind mounts allow access to sensitive files
One side effect of using bind mounts, for better or for worse, is that you can change the host filesystem via processes running in a container, including creating, modifying, or deleting important system files or directories. This is a powerful ability which can have security implications, including impacting non-Docker processes on the host system.
There's a big fat warning
As a workaround