Guide for Install Docker con Ubuntu 22 in 2024
In this guide I will show you how install Docker on Ubuntu 22 in 2024 using just console.
Guide update date: February 27, 2024.
System requirements
This are the minimum required for install docker
4 GB RAM
1 GB disk space
64 bit kernel and CPU support for virtualizarion
BIOS-level hardware virtualization support must be enabled in the BIOS settings. For more information: https://docs.docker.com/desktop/troubleshoot/topics/#virtualization
Console intallation
Install follow libraries
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
Add GPG oficial for Docker
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Config the repository
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Installing Docker engine by apt
Update apt
sudo apt-get update
Install docker using this line
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
Check correct installaton runing Docker Application Container Engine:
sudo systemctl status docker
You should see this screen.
References:
Oficial documentation Docker
https://docs.docker.com/engine/install/ubuntu/#set-up-the-repository
Comments
Post a Comment