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
git clone https://github.com/containerd/containerd.git
cd containerd/runtime/v2/example
go build -o containerd-shim-example-v1 cmd/main.go
sudo cp containerd-shim-example-v1 /usr/local/bin/containerd-shim-example-v1
sudo ctr image pull docker.io/library/hello-world:latest
sudo ctr run --runtime io.containerd.example.v1 docker.io/library/hello-world:latest hello-example-shim
Additional
[root@sbWMmarqIL ~]# ctr run docker.io/library/hello-world:latest hello
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Problem description:
Im trying to create a use the example shim (https://github.com/containerd/containerd/tree/main/runtime/v2/example) but It fails when It fails with "connection refused: unknown", but with the default "io.containerd.runc.v2" works
Steps to reproduce:
Additional
Beta Was this translation helpful? Give feedback.
All reactions