Closed nsymms closed 4 years ago
Thanks for the tip, it works for me too.
In the past, the command was with -v /sys/fs/cgroup:/sys/fs/cgroup:ro
, but something has changed and it was no longer enough to have the container working.
For me, omitting --tmpfs /tmp
works too (Ubuntu 20.04), can you confirm it too?
On Debian 9.12, docker v19.03.11 if I omit --tmpfs /run
I get the error:
Failed to mount tmpfs at /run: Operation not permitted
[!!!!!!] Failed to mount API filesystems.
Exiting PID 1...
I get the same error on Debian 10 and Ubuntu 18.04 also.
I need to include both --tmpfs /run
and --tmpfs /run/lock
for it to work.
Thanks @nsymms! I updated the instructions.
FYI,
I'm able to run the container without any elevated privileges using this:
Seems to be working OK, but maybe I missed something??