Run Rope using headless VNC environments
7.0K
https://github.com/asyafiqe/Rope-docker-headless-vnc-container
This is a docker for running Rope using headless VNC environments. Useful for running Rope on cloud GPU services like Runpod.io or Vast.ai.
The Docker image is installed with the following components:
8080)5901)6901)8585)Run command with mapping to local port 5901 (vnc protocol), 6901 (vnc web access), 8080 (JupyterLab), and 8585 (filebrowser):
docker run -d --gpus all -p 5901:5901 -p 6901:6901 -p 8080:8080 -p 8585:8585 -e VNC_PASSWORDLESS=true -e VNC_RESOLUTION=1024x768 asyafiqe/rope_vnc:latest
For more options, please check ConSol's docker-headless-vnc-container github.
Build an image from scratch:
docker build -t asyafiqe/rope_vnc .
Vast.ai template:
Put asyafiqe/rope_vnc:latest in image path/tag.
Docker options:
-p 5901:5901 -p 6901:6901 -p 8080:8080 -p 8585:8585 -e VNC_PASSWORDLESS=true -e VNC_RESOLUTION=1024x768
In Launch Mode select 'Run interactive shell server, SSH'. Check 'Use direct SSH connection'. On-start Script:
env | grep _ >> /etc/environment; echo 'starting up'
/dockerstartup/vnc_startup.sh
sleep infinity
Runpod.io template:
asyafiqe/rope_vnc:latest.-p 5901:5901 -p 6901:6901 -p 8080:8080 -p 8585:8585
/workspace6901,8080,85855901VNC_PASSWORDLESS, value true
Content type
Image
Digest
sha256:74d3924f7…
Size
10 GB
Last updated
about 2 years ago
docker pull asyafiqe/rope_vnc