Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Docker on AstraLinux Orel

Обновляемся

apt update && apt upgrade

Ставим docker

sudo apt-get install apt-transport-https ca-certificates curl gnupg2 
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
echo "deb [arch=amd64] https://download.docker.com/linux/debian stretch stable" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install docker-ce

Проверяем

sudo systemctl status docker
docker --version

Разрешаем себе пользовать docker без sudo, проверяем

sudo usermod -aG docker ${USER}
sudo su - ${USER}
docker run hello-world

Ставим docker-compose.

Имеет смысл проверить версию последнего релиза (https://github.com/docker/compose/releases) и заменить "1.23.2" в команде ниже

sudo curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Проверяем

docker-compose --version
@wonderu

This comment has been minimized.

Copy link

@wonderu wonderu commented Oct 13, 2020

Спасибо!

@sula7

This comment has been minimized.

Copy link

@sula7 sula7 commented Jan 21, 2021

Спасибо!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment