Resolve Docker update failures on Ubuntu 16.04 by purging old packages and configuring the official repository to install Docker CE.