News for hackers. Stuff that matters.
Re:Over 30% of Official Images in Docker Hub Contain Securit... by vidarh on Wednesday May 27, 2015 @07:47AM (#9610662)
Do you believe that locally built "homegrown" deploys on average are going to be better or worse than these images?

Because I know what I'd bet on.

Re:Over 30% of Official Images in Docker Hub Contain Securit... by sfilipov on Wednesday May 27, 2015 @10:45AM (#9611700)
I'd bet on homegrown - the quality of the official docker images is pretty low when comes to applications ones. Images for OSes are fine. Applications images are often not updated when a new version of the applications is available until you send a pull request on github. I can do better than that myself.

Also, official images are not production ready, they are apparently intended for development purposes. Take the Django image as an example. The server it runs on start is not Gunicorn, or uWSGI, or Apache. It is the development server of Django. I can do better than that myself.

I don't think that is a problem with Docker - the application. If Docker - the company - does not have the resources to properly maintain so many official images then it shouldn't try to.

Re:Over 30% of Official Images in Docker Hub Contain Securit... by vidarh on Wednesday May 27, 2015 @06:07PM (#9614710)
Given how hard it is to find hires - that comes from good development jobs elsewhere - that understands even the very basics of security, I think you're being overly influenced by your own skills.

You may very well do better than that yourself. I don't doubt that large proportions of HN users would do better.

But how many will?

Consider that the quality of the official docker images is an illustration of the quality of images from people who are above average invested in this.

Look at some of the unofficial images, and you will find incredible dreck very quickly.

Now imagine the set of users of images that have not even tried to build their own images yet, and imagine they were asked to put together their own replacements for the official images to use...

Re:Over 30% of Official Images in Docker Hub Contain Securit... by angersock on Wednesday May 27, 2015 @12:45PM (#9612605)
Homegrown every time, sadly.

EDIT:

Reason being, you can more easily deal with silly things like goofy hosts, goofy networks, possible lack of internet connections, bad host OS support, etc.

The normal downsides of doing it yourself of course apply.

Re:Over 30% of Official Images in Docker Hub Contain Securit... by vidarh on Wednesday May 27, 2015 @06:12PM (#9614743)
As I noted elsewhere, I don't doubt that many of us could, and I'd expect HN users to do better on average than developers overall, given the number of security conscious people here.

But that's not what I'm questioning, but whether or not homegrown images on average are going to do better. Look at the non-official images, and see how much nonsense is in there.

If you know you can do better, by all means do. For many of us that is the best option. And I absolutely wish there was more focus on more secure practices for the official images too. But I still think the official images are likely to be better than what most developers would cook up.

Doesn't mean it's good. Just better than the (terrifying) alternative.