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

kernel.core_pattern Read-only file system #11086

Closed
ailjushkin opened this issue Feb 28, 2015 · 4 comments
Closed

kernel.core_pattern Read-only file system #11086

ailjushkin opened this issue Feb 28, 2015 · 4 comments

Comments

@ailjushkin
Copy link

Hey,
my program wants that I've set up the kernel.core_pattern variable and I've tried setting this by many ways. There's only one answer by the system: Read-only file system.

My program checks this var by this command:

/sbin/sysctl -n kernel.core_pattern

How can I change this to be able to run my program ?

I shouldn't change the starter script from a distribution, but I have to do it for now, meanwhile I'm still waiting for possible workarounds, thank you.

@jessfraz
Copy link
Contributor

jessfraz commented Mar 2, 2015

have you tried running the container as --privileged

@jessfraz
Copy link
Contributor

jessfraz commented Mar 2, 2015

we need the output of this information https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-issues

@ailjushkin
Copy link
Author

I'm sorry, Jess.
I could change this using --privileged flag. Closing this issue.

@yselivonchyk
Copy link

Or --cap-add=SYS_ADMIN when privileged is not an option https://docs.docker.com/engine/reference/commandline/run/

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

No branches or pull requests

3 participants