News for hackers. Stuff that matters.
Re:Docker containers should not run an SSH server by vidarh on Thursday June 26, 2014 @03:24PM (#7951179)
The article points out how you can still easily use ssh to maintain the containers: Use the host ssh and force "nsenter" and you get the flexibility of ssh without having to deal with sshd's in every container.

But I think using ssh for large scale management of server largely misses the main benefits of Docker. One of the nice ways of using Docker is to replace tools that uses ssh to try to replicate vm states in various ways that are often hard to make 100% reproducible, with something that is entirely reproducible because it replicates the state exactly.

When you build a docker image, push it to an index, and deploy it on your test system, and then later on the production system, you know the container remains identical.

Re:Docker containers should not run an SSH server by vertex-four on Thursday June 26, 2014 @03:46PM (#7951293)
> When you build a docker image, push it to an index, and deploy it on your test system, and then later on the production system, you know the container remains identical.

I'm fairly sure every cloud provider worth talking about has an image-based deployment system. Even an ESXi box, the sort of which exists in many small offices, does.

Re:Docker containers should not run an SSH server by vidarh on Thursday June 26, 2014 @04:15PM (#7951394)
If you use that exclusively, then those ssh-based server management tools are moot.

Both most of these solutions are far more heavy duty. I've shipped enough VM images all over the place to learn to hate the overheads compared to the very lean-ness of a typical Docker deploy.