Ssh connection failed after installing Docker, on centos7,64bit of vultr and rebooting

the server bought on vultr, CentOS 7x64, cannot connect to ssh as soon as it is restarted after installing docker, and port 22 is also closed.
Control variable method has been tried several times, that is, docker cannot be restarted once installed, and cannot be connected if it is restarted.

curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh

curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/bin/docker-compose
chmod +x /usr/bin/docker-compose

use these commands to install docker-ce and docker-compose

Jun.26,2021

after installing Docker, check to see if SELinux is turned on, and if so, turn it off. The mental journey of blood and tears: Vultr CentOS 7 install Docker


I also encountered this problem, have you solved it?


friend, I have the same docker problem as you. My QQ499064132, hopes to get in touch with you

Menu