-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
[1.8.3 to 1.9.0] Error starting daemon: could not restore image #17688
Comments
Now images are restored on daemon startup and you actually have an image which is invalid (probably an old one I suppose?) @mbentley you should have a folder under |
@runcom - Yup, that fixed it. It existed under |
@mbentley could be useful to share it if you want so we can see which files got corrupted, but to me, it really seems like an old image (ID hasn't been validated at all), could you actually see that image id in docker images -a? |
@runcom - Nope, I couldn't see it with a Here is the tar of the layer. It's pretty small. |
@mbentley thanks a lot |
I'm not sure about it. Maybe we should just go back to the old behavior, ignoring all corrupted images. It looks like there are more cases than we expected. I think logging the error about invalid images is good in any case. |
fair, I'm gonna remove the return when the error != EOF so everything is logged but it won't actually make the daemon crash |
Same issue for me on the upgrade, same image ID. |
Had same problem, folder above didn't exist in the exact path. |
@srfrnk the folder I mentioned above was his case and could be not the same as everyone |
but thanks! |
@runcom sure - no prob :) just thought maybe it'l save time for next person |
I also had the same problem. Removing the folder from /var/lib/docker/graph fixed the startup. |
Description of problem:
After upgrading from 1.8.3 to 1.9.0, I noticed that on one of my boxes, the daemon didn't come back up.
docker version
:docker info
:n/a
uname -a
:Environment details (AWS, VirtualBox, physical, etc.):
KVM VM
How reproducible:
I can reproduce it on this one box I have; not sure about any others but I haven't seen the same upgrade issues on any other Ubuntu 14.04 box.
Steps to Reproduce:
Actual Results:
The daemon does not start; daemon logs show:
Expected Results:
Upgrade works as expected and daemon starts
Additional info:
I was able to roll back to Docker 1.8.3 so I can get detailed information about the containers and any other environmental info that might be helpful.
The text was updated successfully, but these errors were encountered: