Docker droplet with graphic on Digital Ocean

I got a java 8 program, that should run 24/7 and has graphics.

Is it possible to use a Docker setup on Digital Ocean for that with access via VNC?