A few weeks ago a I decided to try out elementaryOS, being a core fedora user, it was confusing at first, especially with the package manager, moving from dnf to apt-get / aptitude, I’m still getting the hang of it, for managing packages, etc.
Being a fullstack developer I’ve come to love docker, so naturally it was one of the first things that I needed to install on elementaryOS, but I had some issues following the instructions at the Docker Store and trying to apply them to elementaryOS, after doing some research I came to this solution, hopefully it’ll help others in my situation.
Follow the initial instructions found here , but when you get to the part
sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
replace $(lsb_release -cs) with xenial
sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ xenial \ stable"
and continue following the documentation.
PS. if you want to run docker without the SUDO command, follow these instructions
Hope this helps.