Docker и Docker Compose - установка на Ubuntu 22.04 - Jammy Jellyfish
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Docker и Docker Compose - установка на Ubuntu 22.04 - Jammy Jellyfish
Алгоритм установки докера на Ubuntu 22.04 (Jammy Jellyfish):
# apt update -y # apt install apt-transport-https ca-certificates curl software-properties-common -y # curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg # echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null # apt update # apt install docker-ce -y
Проверить статус службы и добавить в автозагрузку:
# systemctl status docker # systemctl enable docker
Проверить версию docker:
# docker version