This kind of thing is what makes Docker and LXC great. Tie it in with Dokku somehow, and I’d be a very happy bunny indeed.