UPDATE
As of Docker 17.05 or later, a new feature deprecates the advice in this article. If you have to use an older version…