nvidia-docker-novnc
nvidia-docker-novnc copied to clipboard
How to build a GPU-powered Lubuntu desktop in the cloud
Building a GPU-enhanced Lubuntu Desktop with nvidia-docker2
To build on a plain vanilla Google Compute GPU host:
- Spin up a GC GPU host on the google console. Make sure it has at least one Tesla K80 GPU, and decent amount of VCPUs (e.g. 4, and enough disk space, at least 50Gb). Zone
us-east-1c
seems to be the best choice as of April 1, 2018. - Upload this repo and unpack it in
/root/build
or wherever you like as a temporary location. - Run
preinstall.sh
. This just runsapt-get update
and puts inscreen
andemacs
for getting started. - Run
build.sh
. This will build everything needed to start up a nvidia-docker2 container with Ubuntu 16.04 and Lubuntu desktop.
Running the container
To run the container on this host, use run.sh
. Note that NoVNC will
expect connections on port 40001. Then surf to your host on that port.
Setting up network access
Thanks to @moorage for these tips on configuring network access.
https://github.com/willkessler/nvidia-docker-novnc/issues/2
More info
For more links and reference, please see the Medium posting about this environment here.