Simplest Way to Install Docker

It's so easy, and yet so many blog posts, and the official documentation, make it quite long winded...

Using MacOS? Go here.

Using *nix?

curl https://get.docker.com | sh

For full notes on using this, read this official documentation. There's some important stuff in there.

And if you also want docker-compose...

sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

Check here for the latest version of docker-compose and adjust the above URL accordingly.

Or if you just want a script that you can run on a server to get it ready to run any docker-compose based projects...

curl -L http://bit.ly/dockerit | sh

This is good enough for most setups, however if you do this during an interview for Google you will not get the job.


Next Up



2018 Goals
Earn £100 'passive' income
(£0/£100)
Increase net worth from £X to £X
Invoice £70k active income
(£92k/£70k)
Launch a passive income potential product
(0/1)
Present 5 talks
(3/5)
Write One Blog Post Per Week
(14/25)