I’ve been learning k8s recently. The docker container needs to be installed in it. It can’t be started after installation. Record the solution
Because the docker here is in the form of compressed package, and it is not installed by yum. The solution is not necessarily universal
When I execute: systemctl restart docker, it will report an error
Then I followed the prompt that he reported an error: journalctl – Xe
He didn’t find the executable file in usr/bin. In the docker folder I unzipped, I directly moved the docker folder to /usr/bin/ directory. As a result,
Solution: remove the folder in the outer layer of docker and copy the executable file directly to the /usr/bin directory.