# Installation

[![image.png](https://docs.rakouns.bzh/uploads/images/gallery/2025-10/scaled-1680-/Z84image-png.png)](https://docs.rakouns.bzh/uploads/images/gallery/2025-10/scaled-1680-/Z84image-png.png)

### Prérequis :

- Vérifier les règles de firewall
- OS 64bits : 
    - Debian 12
    - Debian 11
- Désinstaller anciennes versions

### Installation :

##### Ajout des repo Docker :

```bash
# AJout des clés GPG:
apt-get update
apt-get install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc

# Ajout des repo aux sources apt:
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
```

##### Installation des paquets Docker :

```bash
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```

##### Vérifier l'installation :

```bash
docker run hello-world
```

**Docker est <span style="text-decoration: underline;">installé</span> !**