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

mount using :shared may cause crashes #64

Open
jshachm opened this issue Jun 22, 2017 · 2 comments
Open

mount using :shared may cause crashes #64

jshachm opened this issue Jun 22, 2017 · 2 comments

Comments

@jshachm
Copy link

jshachm commented Jun 22, 2017

docker run -it --rm --cap-add sys_admin -v /var/lib/lxc/:/var/lib/lxc/:ro,shared -v /var/lib/lxc/lxcfs/proc/meminfo:/proc/meminfo:rw -m 100m centos:tag /sbin/init
Causes a crash :

Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:393: container init caused \"process_linux.go:376: running prestart hook 1 caused \\\"error running hook: exit status 1, stdout: , stderr: \\\"\"".

@rhatdan
Copy link
Member

rhatdan commented Jul 13, 2017

Could you try this with SELinux disabled? Could be an selinux issue?

@wangdb123
Copy link

man mount
“Note also that moving a mount residing under a shared mount is invalid and unsupported. ”

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

No branches or pull requests

3 participants