GNU/Linux >> Linux Esercitazione >  >> Debian

Come installare il motore Docker su Debian 9 Stretch Linux

Obiettivo

L'obiettivo è installare Docker Engine su Debian 9 Stretch Linux.

Requisiti

È richiesto l'accesso privilegiato al tuo sistema Debian 9 Stretch Linux.

Difficoltà

FACILE

Convenzioni

  • # – richiede che i comandi linux dati vengano eseguiti con i privilegi di root direttamente come utente root o usando sudo comando
  • $ – richiede che i comandi linux dati vengano eseguiti come un normale utente non privilegiato

Istruzioni

Installa i prerequisiti

# apt-get install apt-transport-https dirmngr

Aggiungi archivio Docker

Aggiungi il deposito del pacchetto Docker al tuo /etc/apt/sources.list elenco delle fonti:

# echo 'deb https://apt.dockerproject.org/repo debian-stretch main' >> /etc/apt/sources.list

Ottieni la firma del repository di Docker e l'indice del pacchetto aggiornato:

# apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys F76221572C52609D
# apt-get update

Installa Docker

# apt-get install docker-engine

Appendice

Impossibile trovare https

E: The method driver /usr/lib/apt/methods/https could not be found.

Installa apt-transport-https pacchetto:

# apt-get install apt-transport-https

gpg:impossibile avviare il dirmngr

gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory

Installa dirmngr pacchetto:

# apt-get install dirmngr

Debian
  1. Come installare Tomcat 9 su Debian 9 Stretch Linux

  2. Come installare TeamViewer su Debian 9 Stretch Linux

  3. Come installare Spotify su Debian 9 Stretch Linux

  4. Come installare Jenkins su Debian 9 Stretch Linux

  5. Come installare NodeJS su Debian 9 Stretch Linux

Come installare Docker su Debian 10 Buster Linux

Come installare Docker su Debian 11

Come installare Docker su Debian 10

Come installare Docker su Debian 9 Stretch

Come installare Docker Compose su Debian 9 Stretch

Come installare Vai su Debian 9 Stretch