Using update-alternatives to make docker.io accessible as docker.

I’ve seen some people ask about making the Docker command docker.io on Ubuntu work like it does in the examples: docker. I found this inconvenient too, but fortunately, Ubuntu and Debian have had a solution to this for a long time, it’s called alternatives. In this particular case, there is already an Ubuntu package called docker which is why they are trying to de-conflict executable names by using docker.io in the first place. Ironically, the original docker package doesn’t even contain an executable named docker. Or at least it doesn’t as of Ubuntu 14.04. ...

August 2, 2014