Docker, What is it, what is it for?
Docker is a container management tool. A container is understood as a portable, isolated and independent execution environment, you can imagine it as if it were a virtual machine.
In this environment we will have our operating system and our executable packaged to be able to be started on any host (regardless of its own operating system). Docker is an executable that allows us to start, stop and work with these containers.
Ubuntu 22 Installation
- Update packages
- Update certificates so that apt can connect via SSL
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