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

Firejail doesn't work in Docker #347

Closed
mwz opened this issue Mar 15, 2019 · 1 comment · Fixed by #1370
Closed

Firejail doesn't work in Docker #347

mwz opened this issue Mar 15, 2019 · 1 comment · Fixed by #1370

Comments

@mwz
Copy link
Contributor

mwz commented Mar 15, 2019

Hi @fthomas, I've discovered that firejail doesn't work in Docker:

$ firejail echo hello
Warning: an existing sandbox was detected. echo will run without any additional sandboxing features

Running it with the --force flag, which is supposed to disable the PID namespace checking, results in the following error:

$ firejail --force echo hello
Error clone: main.c:2519 main: Operation not permitted

Additionally, the --force flag was removed in firejail 0.9.54 and apparently it is not possible to run firejail in Docker anymore (I asked about this recently netblue30/firejail#2579).

I think we should remove firejail from scala-steward docker image and force it to run without the sandbox when the command isn't found or make it explicit in the docs that the sandboxing features don't work when running scala-steward in Docker.

@fthomas
Copy link
Member

fthomas commented Mar 23, 2019

Oh no...

Removing firejail from the Docker image and adding a note to the docs to run it with --disable-sandbox in Docker seems fine to me.

Btw, thanks for investigating this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants