Failed to connect to containerd: exec: “docker-containerd“: executable file not found in $PATH

Error details

Failed to connect to containerd: exec: “docker-containerd”: executable file not found in $PATH
Error: docker not running

insert image description here

The system version is:
Description: CentOS Linux release 7.8.2003 (Core)
Release: 7.8.2003

solution

Print the value of $PATH

echo $PATH

Add parameters to environment variables

export PATH="$PATH:/usr/local/bin/"

/usr/local/bin/is my docker path

insert image description here

Guess you like

Origin blog.csdn.net/qq_44534541/article/details/131124631