The server bought on vultr, CentOS 7 x64, cannot be connected to ssh after restarting after installing docker, and port 22 of scavenging port is also closed.
The control variable method has been tried several times, but once docker is installed, it cannot be restarted and cannot be connected.
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 two commands to install docker-ce and docker-compose
After installing Docker, check if SELinux is turned on, and if it is, turn it off. The Psychological Course of Blood and Tears;Vultr CentOS 7 installation doc