$ ssh username@server_ip_address
#running docker with port assignment
#replace image:version with your docker image id
$ docker run --gpus all -it -p 8888:8888 image:version
#starting jupyter lab
$ jupyter lab --ip 0.0.0.0 --port 8888 --no-browser --allow-root
#port forwarding from remote server to local system
$ ssh -N -L 8888:localhost:8888 username@server_ip_address
Access the notebook through your desktop browser on http://localhost:8888 Copy paste the token which was generated when you started the server which you will find from Step 3