Simplest Way to Install Docker
2018-09-24
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.
Read Next
2018-09-22
Craft CMS Deployment Methods
2024
Goals
Write Things