Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I always install docker using simple command

  curl -fsSL get.docker.com | sh
Instead of copy pasting dozen of commands from docs / SO


That looks vulnerable to MITM since it doesn't use HTTPS. Indeed, I just looked it up, it's not in the HSTS preload lists of any browser: https://www.ssllabs.com/ssltest/analyze.html?d=get.docker.co....


FWIW docker doesn't publicize those instructions, they give:

    curl -fsSL https://get.docker.com -o get-docker.sh
    sh get-docker.sh
And, it's the only one of the examples listed in the article that doesn't pipe to shell.




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

Search: