sudo apt-get install ssh
ifconfig
ssh 198.211.102.203
sudo adduser uername
ubuntu装配SSH,支持开启sftp服务
sftp 198.211.102.203
apt-get update
docker run -d --name data -v /home/base/app:/usr/share/jayruanwork centos
docker run -d --name=nginx -p 80:80 --volumes-from=data -v /home/base/config/nginx:/etc/nginx/conf.d jianyeruan/nginx