« Installation de Docker sous Debian 13 » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
Sources : https://www.it-connect.fr/installation-pas-a-pas-de-docker-sur-debian-11/ | Sources : https://www.it-connect.fr/installation-pas-a-pas-de-docker-sur-debian-11/ | ||
1 | =1. Installer les dépendances de Docker := | ||
<big>En administrateur root ('''su''') :</big> | <big>En administrateur root ('''su''') :</big> | ||
| Ligne 15 : | Ligne 15 : | ||
<span style="color: #196f3d;">''Le Chat Mistral''</span> | <span style="color: #196f3d;">''Le Chat Mistral''</span> | ||
2 | =2. Ajouter le dépôt officiel Docker := | ||
'''curl -fsSL <nowiki>https://download.docker.com/linux/debian/gpg</nowiki> | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg''' | '''curl -fsSL <nowiki>https://download.docker.com/linux/debian/gpg</nowiki> | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg''' | ||
| Ligne 23 : | Ligne 23 : | ||
'''apt update''' | '''apt update''' | ||
3 | =3. Installation des paquets Docker := | ||
'''apt install docker-ce docker-ce-cli containerd.io''' | '''apt install docker-ce docker-ce-cli containerd.io''' | ||
Version du 27 septembre 2025 à 13:27
Sources : https://www.it-connect.fr/installation-pas-a-pas-de-docker-sur-debian-11/
1. Installer les dépendances de Docker :
En administrateur root (su) :
apt update && apt upgrade
apt install apt-transport-https ca-certificates curl gnupg2
Le paquet software-properties-common n’est plus disponible pour Debian 13.
Pour l’installation de Docker sur Debian 13, la suppression du paquet software-properties-common (et donc de la commande add-apt-repository) n’est pas bloquante. En effet, la documentation officielle de Docker pour Debian ne repose pas sur add-apt-repository, mais propose une méthode manuelle pour ajouter le dépôt Docker à APT.
Le Chat Mistral
2. Ajouter le dépôt officiel Docker :
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list
apt update
3. Installation des paquets Docker :
apt install docker-ce docker-ce-cli containerd.io
Pour que Docker démarre automatiquement avec la machine :
systemctl enable docker
Pour vérifier que Docker est bien installé :
systemctl status docker