I got the following setup:
Local
Running OSX on my MacBook. Node, Java, PostgreSQL etc... installed on OS.
Server
Running Ubuntu 14.04 on a VM Cluster. Node, Java, PostgreSQL etc... installed on OS.
As I want to represent the server environment on my local machine I first thought about recreating the exact same VM setup via an docker image. But this would mean that I need to be able to create a VM from a docker image, which is not possible at my current hoster (I can only choose a clean ubuntu OS which gets automatically installed, and then I have to install all dependencies manually).
So what are my options now? I only can think of the following two:
- install docker on the VM`s OS (which is also ubuntu) and run my ubuntu-docker image inside it. This seems suboptimal to me as I have to run the same Operating System twice.
- Switch to another hoster which supports setting up VMs from docker files
Or are there any other (better) ways?