# docker

By
cmuc doc
In 
Published 2023-05-05

# Summary

copy
apt install curl -y
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
rm get-docker.sh
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
sudo usermod -aG docker $(whoami)
su - $(whoami)
groups $(whoami)

A callout is a short piece of text intended to attract attention. A callout is a short piece of text intended to attract attention. A callout is a short piece of text intended to attract attention. A callout is a short piece of text intended to attract attention.

# docker

°fa-info° (information text)

# docker

apt install curl -y
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

# docker-compose

sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

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

# docker post-config

sudo systemctl status docker       

# docker group
sudo usermod -aG docker $(whoami)
su - $(whoami)
groups $(whoami)

# optional login 
docker login