Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFmpegfs no longer detects Docker #112

Closed
nschlia opened this issue Jan 4, 2022 · 1 comment
Closed

FFmpegfs no longer detects Docker #112

nschlia opened this issue Jan 4, 2022 · 1 comment
Assignees
Labels

Comments

@nschlia
Copy link
Owner

nschlia commented Jan 4, 2022

FMmpegfs no longer detects that it is running under Docker, reason see https://stackoverflow.com/questions/69002675/on-debian-11-bullseye-proc-self-cgroup-inside-a-docker-container-does-not-sho (thanks to @igor-epam for providing the link).

Probably until Debian is updated, there should be a different way to disable the mount check. Currently it is always done, unless a Docker container is detected. Because the check fails, FFmpegfs refuses to start.

A new command line parameter would help: --nomountcheck

If present, no check is done, and the binary will start.

Also see issue #79

@nschlia nschlia added the bug label Jan 4, 2022
@nschlia nschlia self-assigned this Jan 4, 2022
@nschlia
Copy link
Owner Author

nschlia commented Jan 4, 2022

Here's a quick solution:
https://stackoverflow.com/questions/68816329/how-to-get-docker-container-id-from-within-the-container-with-cgroup-v2
Add --cgroupns host to the run command.

@nschlia nschlia closed this as completed in 2b9c3aa Jan 4, 2022
@nschlia nschlia changed the title FMmpegfs no longer detects Docker FMpegfs no longer detects Docker Jan 4, 2022
@nschlia nschlia changed the title FMpegfs no longer detects Docker FFmpegfs no longer detects Docker Jan 4, 2022
nschlia added a commit that referenced this issue Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant