3

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 ?

Saida Meftah
  • 41
  • 1
  • 3
  • Does this answer your question? [How to run docker images in containerd using ctr in CLI?](https://stackoverflow.com/questions/59393496/how-to-run-docker-images-in-containerd-using-ctr-in-cli) – Gustavo Kawamoto Aug 19 '20 at 11:37

1 Answers1

4

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
Gustavo Kawamoto
  • 2,665
  • 18
  • 27