Docker versions and updates for various installation methods

AI-generated summary

Docker Installation Methods and Versions

A discussion on Docker installation methods and their respective versions has been initiated by pfaffman. The user is working on a fully-automated Discourse install app and has encountered issues with the get.docker.com installation script.

The following Docker versions are mentioned:

  • 17.04.0-ce from get.docker.com
  • 1.12.6 from Ubuntu’s stock apt install docker.io
  • 1.9.1 from a two-year-old setup, even after apt upgrade
  • 17.03.1-ce from Docker’s recommended installation method

pfaffman is leaning towards using Ubuntu’s version, which seems to work and is expected to be reasonably safe.

codinghorror recommends avoiding older versions (1.12 and 1.9.1) and opting for the current version that does not have weird filesystem issues.

I should probably post this on StackExchange…

I’m working on a fully-automated Discourse install app. The quick-and-dirty solution I’m working on right now attempts to run the same install script that I use right now for my installs by starting it with nohup. The problem is that it hangs when doing

   wget -qO- https://get.docker.com/ | sh

It works fine if there is a terminal, but not with nohup. (I think that apt is somehow killing the script, so that’s another story, but this is still interesting.)

This has lead me to consider other means for installing Docker.

  • get.docker.com gives you version 17.04.0-ce
  • ubuntu’s stock apt install docker.io version 1.12.6
  • a site I set up two years ago, version 1.9.1 (even after apt upgrade)
  • Docker’s apparently recommended method, version 17.03.1-ce

It looks like Ubuntu’s version works, and presumably they’ll continue to have a reasonably safe version, so that’s what I’m leaning toward right now.

Opinions?

Well, you definitely don’t want 1.12 or 1.9.1. Whatever gives you the right (current) version with no weird filesystem issues is what I recommend.