128 points · by durdn · 13y ago · 19 comments
Because dokku has a concise and readable codebase, browsing the source is a good way to see one practical application of Docker, too.
I've set it up as a sandbox environment for developers at my company, and for our purposes it's a much better fit than some of the more heavyweight private PaaS products. I'm really enjoying working with it!
How hard is that?
https://github.com/dotcloud/docker/issues/614
Feel free to add to the list if you know of some I forgot.
I'm also planning on writing my own Docker for dummies tutorial that goes from beginning to end explaining how to use each part along the way. Now I just need to find some time to put it all together.
I gave a talk last week at the dotScale conference [1] about the high-level motivation behind Docker. The video should be available soon.
I'm also working on a series of articles on the design principles behind it - separation of concerns, static vs dynamic dependencies, why developers never use system packages, "real computers all the way down", thinking of the internet as one giant unix computer... Basically 5 years worth of obsessing over this particular subject :)
Example from http://openvz.org/Basic_operations_in_OpenVZ_environment:
[host-node]# vzctl create 101 --ostemplate fedora-core-18-minimal [host-node]# vzctl set 101 --ipadd 10.1.2.3 --save [host-node]# vzctl set 101 --nameserver 10.0.2.1 --save [host-node]# vzctl start 101
Docker could be ported from lxc to openvz (and probably will be in the future as a plugin, as it has been requested).
That is to say, Docker is not a replacement for OpenVZ, or any other low-level container capability. It's simply a higher-level tool which is built on top.