Friday, October 2, 2020

Docker Fails to Install: Ubuntu Xenial - 16.04

 Something that impressed me from the get-go about Docker was how simple it turns out to be to install and get the engine running on most platforms.

 Then the other day I got stuck trying follow their simple instructions to install it on Ubuntu 16.04 Xenial and if you have faced this - you would have tried all manner of things with package repositories, etc as well. 

 The following is an example of the related discussions which could solve your problem: 

  • https://askubuntu.com/questions/1030179/package-docker-ce-has-no-installation-candidate-in-18-04
  • https://unix.stackexchange.com/questions/363048/unable-to-locate-package-docker-ce-on-a-64bit-ubuntu 
  • https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04
  • https://medium.com/@randima.somathilaka/docker-engine-install-fails-in-ubuntu-3e70762c2187
  • https://www.liquidweb.com/kb/install-docker-ubuntu-16-04/

 

However - note that my problem was actually a simple but subtle one. and none of the above worked for me until I chanced upon this post: 

https://forums.docker.com/t/installation-failure-ubuntu-16-04-lts/43667

Thanks to madsivas! I had been trying to install on the i386 version - once I switched to the amd64 one, everything just worked.

No comments: