-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
Description
command ctr shim --socket xx shim state not support runtime.v1 shim, Can I add runtime.v1 shim support into ctr shim command ?
$ sudo ctr c ls
CONTAINER IMAGE RUNTIME
s2 docker.io/library/busybox:latest io.containerd.runtime.v1.linux
vv2 docker.io/library/busybox:latest io.containerd.runc.v1
$ sudo ctr shim --socket=/containerd-shim/default/vv2/shim.sock state
{
"id": "vv2",
"bundle": "/var/run/containerd/io.containerd.runtime.v2.task/default/vv2",
"pid": 9956,
"status": 2,
"stdin": "/run/containerd/fifo/962174193/vv2-stdin",
"stdout": "/run/containerd/fifo/962174193/vv2-stdout",
"stderr": "/run/containerd/fifo/962174193/vv2-stderr",
"exited_at": "0001-01-01T00:00:00Z"
}
$ sudo ctr shim --socket=/containerd-shim/default/s2/shim.sock state
ctr: rpc error: code = NotFound desc = service containerd.task.v2.Task
Describe the results you received:
Describe the results you expected:
Output of containerd --version:
(paste your output here)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels