Skip to content

Is there a way to execute docker without '--init-' option? #990

Answered by edigaryev
ldevulder asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Loic!

Perhaps replacing:

echo 1 > /sys/fs/cgroup/init/cgroup.procs

...with:

xargs -rn1 < /sys/fs/cgroup/cgroup.procs > /sys/fs/cgroup/init/cgroup.procs

...would work? As the latter doesn't make an assumption regarding the current process ID and just adds all processes.

However, it's not clear as to why you need this in the first place 🤔 Are all of these controllers missing in your environment?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@fkorotkov
Comment options

@ldevulder
Comment options

Answer selected by ldevulder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants