Thanks for your reply and I know how to do it.
The Deepo already had jupyter images with all deep leaning libraries.
So I use this command in my seconcd ssh vm:
sudo docker run -it -p 9999:9999 — ipc=host ufoym/deepo:all-py36-jupyter-cpu jupyter notebook — no-browser — ip=0.0.0.0 — port 9999 — allow-root — NotebookApp.token= — notebook-dir=’/root’
Since the port for the tunnel is 9999 and I dont have gpu in my vm, the command is just as above.
And now i can type localhost:9999 and see the ipython, it feels great :D.