Digital ocean has a simple way to setup Ubuntu 16.0 which comes with docker 17.10 and docker-compose 1.1.
However, due to some issues with 17.10, you might have issues working with, but ddev can still run very well on docker 17.10, just to avoid future issues, you can follow the steps in the answer below.