Docker and elementaryOs Loki

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.

enjoyed the article?Phanor Collcontact me and lets bring your ideas to life.

Get your copy of "Hands on Gatsbyjs" and learn how to supercharge your websites, embrace JAMStack and add microservices to implement authenticacion, create shopping carts and more. get your copy now

Phanor Coll

Phanor Coll

With more than 20 years of experience, I love to learn every day, hack around and bring crazy ideas to life. Currently immersed in the world of Go(golang), Graph databases(Neo4j, Dgraph) and Rectjs.

Learn more about me..
feedback phanorcoll.com
comments