> What's the difference between Docker and normal virtualization technology (OpenVZ/KVM)? Are there any good examples of when and where to use Docker over something like OpenVZ? Docker is exactly like OpenVZ. It became popular because they really emphasize their OpenVZ Application Templates feature, and made it much more user friendly. So users of Docker, instead of following this guide: https://openvz.org/Applicatio…
Ask HN: What is the actual purpose of Docker?
111–120 of 159 posts
Re: Ask HN: What is the actual purpose of Docker?
#112docker and openVZ aim to do the same thing. docker is a glorified chroot and cgroup wrapper. There is also a library of prebuilt docker images (think of it as a tar of a chroot) and a library of automated build instructions. The library is the most compelling part of docker. everything else is basically a question of preference. You will hear a lot about build once, deploy anywhere. whilst true in theory, your mileag…
"However if you wish to assign ip addresses to each service, docker is not really mature enough for that. Yes its possible, but not very nice. You're better off looking at KVM or vmware." I don't understand. If you can't assign IPs to each service (or it's difficult/unreliable to do so) how can processes talk to each other and the outside world?
Re: Ask HN: What is the actual purpose of Docker?
#113Earlier quoted context omitted.
I'm not sure if I agree that the UX of docker is all that great if you're inferring that docker somehow is more intuitive or easier to understand. The sheer amount of confusion from so many people out there about what docker does is evidence to that.
You're conflating the fundamental technicality and irreducible complexity of the issues that Docker is attempting to solve with the UI they are wrapping around it. It doesn't matter if you have Steve Jobs himself risen from the grave, there is no way to make Docker be as easy to understand and use as Instagram. That doesn't mean it's not a step-change if you consider the UX of Docker vs raw LXC.
Re: Ask HN: What is the actual purpose of Docker?
#114Re: Ask HN: What is the actual purpose of Docker?
#115> What's the difference between Docker and normal virtualization technology (OpenVZ/KVM)? Are there any good examples of when and where to use Docker over something like OpenVZ? Docker is exactly like OpenVZ. It became popular because they really emphasize their OpenVZ Application Templates feature, and made it much more user friendly. So users of Docker, instead of following this guide: https://openvz.org/Applicatio…
Docker and OpenVZ are not the same. Docker is single application focus. OpenVZ provides the entire OS in a container. OpenVZ has support for live migration.
Docker does that, too. Actually, I'm running docker containers as a fast and easy replacement for VirtualBox VMs.
Re: Ask HN: What is the actual purpose of Docker?
#116Re: Ask HN: What is the actual purpose of Docker?
#117Earlier quoted context omitted.
It's unfortunate that Docker still doesn't use user namespaces.
No, they are new and have had many security issues. Just run your containers not as root, you can use capabilities if you like.
Re: Ask HN: What is the actual purpose of Docker?
#118Earlier quoted context omitted.
That's... just not true.
You have an SSL vulnerability, you need to patch the docker image, just like you'd have to patch a linux system. Now you say something of substance!
Re: Ask HN: What is the actual purpose of Docker?
#119Earlier quoted context omitted.
You're conflating the fundamental technicality and irreducible complexity of the issues that Docker is attempting to solve with the UI they are wrapping around it. It doesn't matter if you have Steve Jobs himself risen from the grave, there is no way to make Docker be as easy to understand and use as Instagram. That doesn't mean it's not a step-change if you consider the UX of Docker vs raw LXC.
I'm only pointing out that docker has some pretty big UX problems as a whole (whether or not they can reduce the complexity of them enough to actually solve them is another thing). I wouldn't bill docker's UX as it's killer feature.
Re: Ask HN: What is the actual purpose of Docker?
#1201. Stateless servers. Put your code and configuration in git repos, then mount them as volumes in your docker container. The absolute star feature of docker is being able to mount a file from the host to the container. You can tear down the host server, then recreate it with not much more than a `git clone` and `docker run`. 2. Precise test environment. I can mirror my entire production environment onto my laptop. No…
>The absolute star feature of docker is being able to mount a file from the host to the container. This is a simple bind-mount and isn't special at all. mount("/foo", "/container/foo", "none", MS_BIND); Also, virtual machines have had things like 9p that allow the same thing.