Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
[flagged]
sethvargo on April 3, 2015 | hide | past | favorite


Docker containers aren't the only problem.. EC2 AMI's, random screensavers you found attached to emails from your friends, new binary software you installed for free 'from the internet', random chrome/firefox extensions, iphone/android apps, blank USB keys that you found lying on the ground near your workstation..


One tricky one is copy/pasting shell commands from web pages. Even if you're sure the command it shows you is benign, it's relatively easy to make it so that what gets pasted is malicious. Paste into a safe place first and look at it there before you run it, don't just look at what's on the web page.


On second look, this might be more benign than it first appears.

I spent about thirty seconds digging through the package and the net. The mentioned SSL certificates don't seem to exist in that repo or referenced in google, but I did find this package that appears to generate said certs for you. https://github.com/joemiller/joemiller.me-intro-to-sensu

So it looks like (again, quick read) you're installing your own self-signed certs, which wouldn't imply any significant security risk assuming the script creates the files securely etc.


What's wrong with that? It seems that he generates a new certificate which is used for rabbitmq...


I'm not sure either. This is the script run two lines earlier: https://github.com/joemiller/joemiller.me-intro-to-sensu/blo...


Exactly, look at line 31 of the same file.


To be fair, that's almost the only part of that Dockerfile that isn't all sorts of wrong, though not in a security vulnerability sense. Seeing that many yum installs in their own RUN commands is a sure sign of a Docker newb.


What are we supposed to be worried about?


Am curious as to how downloading docker containers is any less safe than adding an apt repository and apt-get installing?


A .deb package can do whatever it likes during installation, so not much difference in reality.


it isn't


I don't really understand why people don't bother building their own containers. The process is trivial, and very scriptable. Somebody built a container you want to use? Grab the Dockerfile and DIY. You might even learn something in the process..


Given the benign nature of the self-signed certs, we should restart the holy war that docker shouldn't contain supervisor. An excellent use of everyone's time


What does the clean and generate script two lines above do?

If it does what the parameters suggest what's the issue here?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: