Ali CVM uses docker to create a nginx container. As soon as it is started, the remote connection Xshell will be disconnected.

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

clipboard.png

Mar.01,2021

docker run-p 6800 mynginx plus-p parameter, port forwarding


has the landlord solved it? I also encountered the same problem

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e7f1fd-a32.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e7f1fd-a32.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?