# 01_Portainer

## portainer

*Docker container management made simple, with the world’s most popular GUI-based container management platform.*

<table id="bkmrk-imageportainer%2Fporta"><tbody><tr><th>Image</th><td><code>portainer&#47;portainer&#45;ce&#58;latest</code></td></tr><tr><th>Etat</th><td><span style="color:#008000;">Up 9 hours</span></td></tr><tr><th>Reseau</th><td>bridge</td></tr><tr><th>URL</th><td>[https://portainer.juxjux.ovh](https://portainer.juxjux.ovh)</td></tr></tbody></table>

### Ports

<table id="bkmrk-hotecontainerip94439"><thead><tr><th>Hote</th><th>Container</th><th>IP</th></tr></thead><tbody><tr><td>9443</td><td>9443/tcp</td><td>0.0.0.0</td></tr><tr><td>9443</td><td>9443/tcp</td><td>::</td></tr><tr><td>8000</td><td>8000/tcp</td><td>0.0.0.0</td></tr><tr><td>8000</td><td>8000/tcp</td><td>::</td></tr><tr><td>9000</td><td>9000/tcp</td><td>0.0.0.0</td></tr><tr><td>9000</td><td>9000/tcp</td><td>::</td></tr></tbody></table>

### Volumes

<table id="bkmrk-source-%28hote%29destina"><thead><tr><th>Source (hote)</th><th>Destination</th><th>Type</th><th>Mode</th></tr></thead><tbody><tr><td><code>&#47;var&#47;lib&#47;docker&#47;volumes&#47;portainer&#95;data&#47;&#95;data</code></td><td><code>&#47;data</code></td><td>volume</td><td>rw</td></tr><tr><td><code>&#47;var&#47;run&#47;docker&#46;sock</code></td><td><code>&#47;var&#47;run&#47;docker&#46;sock</code></td><td>bind</td><td>rw</td></tr></tbody></table>

---

## Integration Claude Code — MCP

<table id="bkmrk-statut-mcpmcp-actifo"><tbody><tr><th>Statut MCP</th><td><span style="color:green">MCP actif</span></td></tr><tr><th>Outils (prefix)</th><td><code>mcp&#95;&#95;portainer&#95;&#95;</code></td></tr><tr><th>Configuration</th><td>Script Python : C:\\Users\\eliob\\.claude\\mcp\_portainer.py \| Projet Claude Code : C:\\Users\\eliob \| Auth : JWT via POST /api/auth, endpoint Docker local ID 3</td></tr></tbody></table>

### Outils disponibles

- `list_endpoints`
- `list_stacks`
- `get_stack`
- `get_stack_file`
- `redeploy_stack`
- `list_containers`
- `get_container`
- `get_container_logs`
- `restart_container`
- `start_container`
- `stop_container`
- `list_images`

### Ce que nous pouvons faire ensemble

- Lister et inspecter tous les containers et leurs états
- Consulter les logs d'un container en temps réel
- Redémarrer, démarrer ou arrêter un container à la demande
- Lire le fichier docker-compose.yml d'une stack
- Redéployer une stack après modification
- Lister toutes les images Docker disponibles sur le VPS