# Failed to download image due to 'layers from manifest don't match image configuration

**URL:** <https://forums.balena.io/t/failed-to-download-image-due-to-layers-from-manifest-dont-match-image-configuration/369279>\
**Category:** Product support\
**Tags:** docker\
**Created:** [November 4, 2023, 10:02pm UTC](https://forums.balena.io/t/failed-to-download-image-due-to-layers-from-manifest-dont-match-image-configuration/369279 "2023-11-04T22:02:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gh\_prmargas](https://avatars.discourse-cdn.com/v4/letter/g/74df32/32.png) [@gh\_prmargas](https://forums.balena.io/u/gh_prmargas)\
**Post date:** [November 4, 2023, 10:02pm UTC](https://forums.balena.io/t/failed-to-download-image-due-to-layers-from-manifest-dont-match-image-configuration/369279/1 "2023-11-04T22:02:34Z")

</div>

I see that we updated the OS version to the Device and now Its unable to pull the new release, I am constantly getting the following Error

Failed to download image ‘[registry2.balena-cloud.com/v2/f997b15a947afd64ddfccd665227f432@sha256:4ddf33cde00c8b05c3084d27ed9f506d5d53cff5dc3e24de0ead37a380bded0e](http://registry2.balena-cloud.com/v2/f997b15a947afd64ddfccd665227f432@sha256:4ddf33cde00c8b05c3084d27ed9f506d5d53cff5dc3e24de0ead37a380bded0e)’ due to 'layers from manifest don’t match image configuration

Any thoughts on how do we get this resolved?

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [November 6, 2023, 12:23pm UTC](https://forums.balena.io/t/failed-to-download-image-due-to-layers-from-manifest-dont-match-image-configuration/369279/3 "2023-11-06T12:23:42Z")

</div>

Hello @gh_prmargas first of all welcome to the balena community!

> [@gh\_prmargas](#):
>
> due to 'layers from manifest don’t match image configuration

did you check this solution?

> [@Failed to preload image with error "layers from manifest don't match image configuration"](https://forums.balena.io/t/failed-to-preload-image-with-error-layers-from-manifest-dont-match-image-configuration/349369/3):
>
> Hello, this also happens when layers get out of sync (e.g. modifying layers from host OS directly in /mnt/data/docker/…). To repair, you can identify which container uses this image using docker inspect ...) and then run docker rm {{id}} --force to remove the container and `docker rmi {{id}``` to remove the image. Afterwards, restarting the supervisor should get everything back in sync.

Let us know if this works!

---

<div class="post-metadata">

**Author:** ![gh\_prmargas](https://avatars.discourse-cdn.com/v4/letter/g/74df32/32.png) [@gh\_prmargas](https://forums.balena.io/u/gh_prmargas)\
**Post date:** [November 6, 2023, 10:12pm UTC](https://forums.balena.io/t/failed-to-download-image-due-to-layers-from-manifest-dont-match-image-configuration/369279/5 "2023-11-06T22:12:12Z")

</div>

Thanks, This works to clear the Image from the container and restart the supervisor.
