Closed nschlia closed 3 years ago
FFmpegfs refuses to mount on the Docker mount point with an "already mounted" message. This is by design to avoid mounting over an existing mount. In case of Docker this should be possible, though.
Easiest solution would be a command line parameter, e.g., --nomountcheck, but this could be dangerous and the user needs to know about it to make Docker support work properly.
It would be better to detect whether we are running under Docker, and if so, do not refuse to mount over the Docker mount.
To detect Docker, check for the string ‘/docker’ in /proc/self/cgroup
See:
https://stackoverflow.com/questions/20010199/how-to-determine-if-a-process-runs-inside-lxc-docker https://tuhrig.de/how-to-know-you-are-inside-a-docker-container/
Docker support now OK, see #112 and https://github.com/nschlia/ffmpegfs/blob/master/README.md#building-a-docker-container how to use it.
There have been requests to add Docker support to FFmpegfs.