Docker Quick Install (Ubuntu)

Docker Quick Install (Ubuntu)

I always seem to search for install steps so creating a go to place for them:

1. Install Docker

curl -sSL | sh

Confirm Installed

docker --version

Add rights

sudo groupadd docker

This didnt work for me exactly, change $USER to your user name then reboot server after.

sudo gpasswd -a $USER docker

2. Docker compose: check latest version (here)

sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

Set Privlages on docker-compose

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

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

Confirm Installed

docker-compose --version

Share Tweet Send
You've successfully subscribed to Metristech
Great! Next, complete checkout for full access to Metristech
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.