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 | 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`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 | sh

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

Read Next

2024 Goals
Write Things