1. Instalar paquetes
sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
2. Importar clave Docker GPG utilizada para firmar paquetes Docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
3. Agregar el repositorio de Docker a Linux Mint 19
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(. /etc/os-release; echo "$UBUNTU_CODENAME") stable"
Se agregará una línea al archivo de repositorios adicionales.
deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
4. Instala Docker Engine y Docker Compose en Linux Mint 19 con apt
sudo apt-get update
jaidenmeiden@highlandersword:/etc/apt/sources.list.d$ sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://packages.linuxmint.com tessa InRelease
Des:3 https://download.docker.com/linux/ubuntu bionic InRelease [64,4 kB]
Obj:4 http://packages.linuxmint.com tessa Release
Obj:5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Obj:6 http://archive.ubuntu.com/ubuntu bionic InRelease
Obj:7 http://security.ubuntu.com/ubuntu bionic-security InRelease
Obj:9 https://packages.microsoft.com/repos/vscode stable InRelease
Obj:10 http://dl.google.com/linux/chrome/deb stable Release
Obj:11 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Obj:12 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Obj:13 http://archive.canonical.com/ubuntu bionic InRelease
**Des:14 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages [9.594 B] **
Obj:16 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Descargados 74,0 kB en 1s (62,4 kB/s)
Leyendo lista de paquetes... Hecho
5. Instalar la última versión de Docker CE y Docker Compose
sudo apt-get -y install docker-ce docker-compose
Se crea el grupo de Docker pero no se agregan usuarios. Agregue su usuario al grupo para ejecutar comandos de Docker como usuario sin privilegios.
sudo usermod -aG docker $USER
6. Se verifica que Docker este funcionado
sudo docker --version
Docker version 19.03.4, build 9013bf583a
Fundamentos de Docker 2018
0 Comentarios
para escribir tu comentario