Hi, I just upgraded to Fedora 39. When I tried to build a Docker image or start a container, for example:
docker run -it --rm debian:buster bash -c "echo Hello"
I got this error:
docker: Error response from daemon: failed to create task for container: failed to create shim task: ttrpc: cannot marshal unknown type: *task.CreateTaskRequest: unknown.
What went wrong?
I have the same problem:
failed to create task for container: failed to create shim task: ttrpc: cannot marshal unknown type: *task.CreateTaskRequest: unknown
Solved using docker-ce:
Install Docker Engine on Fedora | Docker Docs
and docker-compose of github.
Thanks. I uninstalled old Docker and installed it again using the guide. Now it’s working again.
But I still wonder what dependency caused the error.
It is probably related to this issue: https://bugzilla.redhat.com/show_bug.cgi?id=2237396
What helped me was downgrading to
Just download appropriate package here: containerd-1.6.19-2.fc39 | Build Info | koji
sudo dnf downgrade <path to downloaded package>
systemctl restart containerd
systemctl restart docker