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
Unable to launch container, error complaining about SHM size must be greater than 0 #24588
Comments
Since this blocks my ability to launch containers, bump to p0. See associated PR that sets ShmSize to match what docker CLI does by default. We could probably get fancier with ShmSize in future. |
@derekwaynecarr Thanks a looooot~ As is documented:
Go-dockerclient doesn't have this issue because it doesn't even support While the engine-api supports |
@derekwaynecarr My theory is proved. :) While the The version you are using is quite new: That's why we didn't catch this in our e2e cluster. When I validated docker 1.10, we were still using go-dockerclient, which doesn't have this problem (see #24588 (comment)). I think we should:
For older docker version (before 1.9.1), an extra field won't matter, it will be automatically omitted during json decoding. |
We have a new Fedora Docker RPM pending to fix this. On Thursday, April 21, 2016, Lantao Liu notifications@github.com wrote:
|
@Random-Liu - I am fine with option 1, I will update this PR. |
Per discussion this morning with @eparis and @ncdc , I am not a fan of hidden default flags that have a history of breaking us. As a result, I would like kube to set an explicit default |
As @ncdc said in #24589 (comment) It seems that docker doesn't accept ShmSize of 0 from moby/moby#18261, but change to accept that after moby/moby@5190794. There is no public docker release between them, so this should not happen in any docker released version. Maybe we don't need to care about it too much for now. :) |
Automatic merge from submit-queue docker daemon complains SHM size must be greater than 0 Fixes #24588 I am hitting this on Fedora 23 w/ docker 1.9.1 using systemd cgroup-driver. ``` $ docker version Client: Version: 1.9.1 API version: 1.21 Package version: docker-1.9.1-9.gitee06d03.fc23.x86_64 Go version: go1.5.3 Git commit: ee06d03/1.9.1 Built: OS/Arch: linux/amd64 Server: Version: 1.9.1 API version: 1.21 Package version: docker-1.9.1-9.gitee06d03.fc23.x86_64 Go version: go1.5.3 Git commit: ee06d03/1.9.1 Built: OS/Arch: linux/amd64 ``` Not sure why I am on the only one hitting it right now, but putting this out here for comment. /cc @kubernetes/sig-node @kubernetes/rh-cluster-infra @smarterclayton
I am getting errors like the following:
I am running the following:
Are we now required to set a
ShmSize
moving forward now that we have switched to the docker engine API? I was able to work around it on my system by supplyingShmSize
like the following:which I think is consistent with what docker CLI is doing by default.
/cc @kubernetes/sig-node @vishh @Random-Liu @mrunalp @kubernetes/rh-cluster-infra
The text was updated successfully, but these errors were encountered: