Today, I downloaded version 1.12.6 of docker, via yum using Ali CVM, and then downloaded a nginx image using docker.
there is no problem at this time, but when you use docker run to create a nginx container, you will disconnect the Xshell remote connection, but you can connect to the CVM in the Aliyun control background.
when you restart this CVM, you can connect to it by practicing Xshell,. (because the docker service has been shut down)
I suspect that because the port of the Xshell remote connection is 22, it is disconnected. I found all kinds of solutions on the Internet and asked for help.
-sharp last executes startup report error