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 https://get.docker.com | 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 "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(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
0 Comments
Loading...
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.