How can I share my docker images with Conatinerd runtime?

Viewed 2609

I used to work with docker images and now I am trying to run containers using containerd runtime. So, I want to share my prebuilt docker images with ctr, Is that possible ? How can I do that please ?

1 Answers

Yes, both implement the OCI Image Spec. If your image is accessible to your containerd installation, it should work seamless.

One example of running the redis:alpine image from Docker Hub:

ctr image pull docker.io/library/redis:alpine
ctr run docker.io/library/redis:alpine myid
Related