Instalar Docker en Ubuntu siguiendo las instrucciones de los siguientes artículos:
How to install Docker on Ubuntu 16.04 (Docker Docs)How to install Docker on Ubuntu 16.04 (Medium)Install Docker and Run Docker Containers in Ubuntu (Tecmint)
Important
Artículos sustituidos por la guía oficial disponible a fecha de hoy (03/03/2025). Sugiero seguir la guía del enlace, ya que los pasos mencionados abajo podrían no estar actualizados o no ser totalmente correctos.
Una recomendación personal es usar uno de los siguientes scripts de Proxmox VE Helper-Scripts, aunque en este caso, daré los pasos para una instalación manual en Fedora.
Pasos - GUÍA OFICIAL (Fedora)
Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker repository. Afterward, you can install and update Docker from the repository.
Install the dnf-plugins-core package (which provides the commands to manage your DNF repositories) and set up the repository.
sudo dnf -y install dnf-plugins-core
sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo-
Install the Docker packages.
To install the latest version, run:
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
This command installs Docker, but it doesn't start Docker. It also creates a
dockergroup, however, it doesn't add any users to the group by default. -
Start Docker Engine.
sudo systemctl enable --now dockerThis configures the Docker systemd service to start automatically when you boot your system. If you don't want Docker to start automatically, use
sudo systemctl start dockerinstead. -
Verify that the installation is successful by running the
hello-worldimage:sudo docker run hello-world
This command downloads a test image and runs it in a container. When the container runs, it prints a confirmation message and exits.
You have now successfully installed and started Docker Engine.
Autor: Alejandro Mateo - @AlexM2Media
Repositorio: SREI-2ASIR
Web/Portfolio: alexm2.media


