Repository navigation
Description
Description
A CRI sandbox image (pinned_images.sandbox, or legacy sandbox_image) configured as a reference with both a tag and a digest (name:tag@sha256:…) makes RunPodSandbox fail with "failed to get sandbox image … not found", even though containerd successfully pulls that exact image during the same call and stores it. No pods can start on the node.
Identical config works on 2.2.x and fails on 2.3.x (verified on 2.3.0 and 2.3.1).
#13513 might also fix this issue.
Steps to reproduce the issue
- Fetch containerd 2.3.1 + crictl into a temp dir:
mkdir -p /tmp/ctd-repro && cd /tmp/ctd-repro
curl -fsSL https://github.com/containerd/containerd/releases/download/v2.3.1/containerd-2.3.1-linux-amd64.tar.gz | tar xz
curl -fsSL https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.34.0/crictl-v1.34.0-linux-amd64.tar.gz | tar xz -C bin- Write a config with a
tag@digestsandbox image:
cat > config.toml <<EOF
version = 3
root = "/tmp/ctd-repro/root"
state = "/tmp/ctd-repro/state"
[grpc]
address = "/tmp/ctd-repro/c.sock"
[plugins."io.containerd.cri.v1.images".pinned_images]
sandbox = "registry.k8s.io/pause:3.10.1@sha256:278fb9dbcca9518083ad1e11276933a2e96f23de604a3a08cc3c80002767d24c"
[plugins."io.containerd.cri.v1.runtime".containerd]
default_runtime_name = "runc"
[plugins."io.containerd.cri.v1.runtime".containerd.runtimes.runc]
runtime_type = "io.containerd.runc.v2"
EOF- Start the throwaway containerd (root, with
binon PATH for the shim/runc):
sudo env "PATH=/tmp/ctd-repro/bin:/usr/sbin:/usr/bin:/sbin:/bin" ./bin/containerd -c config.toml &>containerd.log &
sleep 3- Minimal pod-sandbox config (host network, so no CNI is needed):
cat > pod.json <<'EOF'
{ "metadata": {"name":"probe","namespace":"default","uid":"u-1","attempt":1},
"log_directory":"/tmp",
"linux": {"security_context": {"namespace_options": {"network": 2}}} }
EOF- Run the sandbox — fails:
$ sudo ./bin/crictl -r unix:///tmp/ctd-repro/c.sock -i unix:///tmp/ctd-repro/c.sock runp pod.json
... code = NotFound desc = failed to start sandbox "...": failed to get sandbox image "registry.k8s.io/pause:3.10.1@sha256:278fb9...": image "...": not found- …but the image is present — containerd pulled it during step 5 and stored it under its canonical (digest-only) name:
$ sudo ./bin/ctr -a /tmp/ctd-repro/c.sock -n k8s.io images ls | grep pause
registry.k8s.io/pause@sha256:278fb9...Describe the results you received and expected
RunPodSandbox fails immediately with:
code = NotFound desc = failed to start sandbox "...": failed to get sandbox image "registry.k8s.io/pause:3.10.1@sha256:278fb9...": image "...": not found
containerd pulled that image during the same call, ctr -n k8s.io images ls shows it present as registry.k8s.io/pause@sha256:278fb9..., yet the sandbox lookup reports it missing. No pod sandbox is created, so the node can run no pods.
RunPodSandbox should resolve the configured sandbox image (a valid name:tag@digest reference) and start the sandbox, as it does on containerd 2.2.x, and as 2.3.x already does when the same image is configured tag-only (pause:3.10.1) or digest-only (pause@sha256:...).
What version of containerd are you using?
containerd github.com/containerd/containerd/v2 v2.3.1 64b425c
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
version = 3
root = "/tmp/ctd-repro/root"
state = "/tmp/ctd-repro/state"
[grpc]
address = "/tmp/ctd-repro/c.sock"
[plugins."io.containerd.cri.v1.images".pinned_images]
sandbox = "registry.k8s.io/pause:3.10.1@sha256:278fb9dbcca9518083ad1e11276933a2e96f23de604a3a08cc3c80002767d24c"
[plugins."io.containerd.cri.v1.runtime".containerd]
default_runtime_name = "runc"
[plugins."io.containerd.cri.v1.runtime".containerd.runtimes.runc]
runtime_type = "io.containerd.runc.v2"Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity
[-]cri: RunPodSandbox "failed to get sandbox image … not found" for tag+digest sandbox image[/-][+]CRI: tag+digest sandbox image breaks RunPodSandbox[/+]hakman commentedon Aug 13, 2026
This is now fixed in 2.3.4. Thanks!