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