4 ms·
I don't know anything about Docker being production ready, but both LXC (used by docker) and OpenVZ are production ready. OpenVZ is a mostly equivalent technol
by darkarmani 13y ago
I don't know anything about Docker being production ready, but both LXC (used by docker) and OpenVZ are production ready. OpenVZ is a mostly equivalent technology that has been around for a number of years, but IMHO hasn't gotten the management features and updates that docker is getting.
You can use OpenVZ right now for similar things, but it isn't as easy to create small single-use containers.
The nice thing OpenVZ has that docker doesn't currently support is mounting a Host directory (read-only or read-write) into the OpenVZ container so you can easily share lots of data to many containers with one copy. Right now, docker supports sharing volumes between containers, but not with the Host system.
For example, you can make very small OpenVZ containers by using common /usr, /lib, /lib64 directories and mounting them read-only in all of your containers. It's easy to bring up OpenVZ on a Centos6 machine and you can run Ubuntu containers in it if you like.
I have nothing against Docker and hope they keep adding features, but my current experience is with OpenVZ.
- jpetazzo 13y agoActually, Docker just got the "bind mounting" feature that you are requesting. If you want the long and boring details, it's in this pull request: https://github.com/dotcloud/docker/pull/602 https://github.com/dotcloud/docker/pull/602 Dockerlite doesn't have those features, though (keep in mind that dockerlite is just a playground for funky features, nothing else!)
- darkarmani 13y agoGreat! Thanks for pointing that out. I had read through the tremendous number of comments around that feature a month ago, and didn't expect it to make it through committee already. It's a killer feature and extremely useful.