-
Notifications
You must be signed in to change notification settings - Fork 86
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
[20.10.2] start docker failed #1185
Comments
Thanks for reporting; was this a fresh install, or did you have an older version of docker installed before this? Do you have a daemon configuration file with custom options? ( |
I think this is a duplicate of #1169, and will be fixed by moby/moby#41854 |
There's an old version of 1.13.1, and I remove this old version via yum remove xxx And I have clear /etc/docker/daemon.json and try it again and failed either: |
Please note that the coredump stack is different between this two issues |
Yes, correct, the stack is different; the panic is in the second line here; https://github.com/moby/moby/blob/v20.10.2/daemon/start_unix.go#L21-L22 rt := daemon.configStore.GetRuntime(container.HostConfig.Runtime)
if rt.Shim == nil { At but at least the panic should be fixed by the func (daemon *Daemon) getRuntime(name string) (*types.Runtime, error) {
rt := daemon.configStore.GetRuntime(name)
if rt == nil {
return nil, errdefs.InvalidParameter(errors.Errorf("runtime not found in config: %s", name))
} Question is, why it doesn't find a runtime; what happens if you remove the Note that the previously installed docker 1.13.1 daemon was the Red Hat fork of docker; that fork is known to have patches that are incompatible with the official Docker version, so there is a chance that there's state files in |
It started succeed after mv /var/lib/docker /var/lib/docker.bk. Thanks a lot! |
You're welcome! If you manage to figure out what exactly caused the issue, let us know as well, because then we could possibly include it in a unit/integration-test. |
Expected behavior
Dockerd start succeed
Actual behavior
Dockerd start failed with a segmentfault.
Steps to reproduce the behavior
Output of
docker version
:docker -v
Docker version 20.10.2, build 2291f61
Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)
The text was updated successfully, but these errors were encountered: