This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Paso 1: Actualizar lista de paquetes | |
sudo apt update | |
# Paso 2: Instalar dependencias necesarias | |
sudo apt install -y apt-transport-https ca-certificates gnupg2 curl software-properties-common | |
# Paso 3: Agregar la clave GPG de Docker al sistema | |
sudo curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - |