Installation de Docker dans Open Media Vault

On part d’une nouvelle installation de Open Media Vault dans une VM sous Proxmox.

Dans le terminal connecter à notre VM Open Media Vault, on écris la commande suivante:

wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash

Il faut absolument faire la config des fichiers docker pour portainer dans Open Media Vault avant de pouvoir utiliser Docker ou Portainer.

version: '3.3'
services:
portainer-ce:
ports:
- '8000:8000'
- '9443:9443'
container_name: portainer
environment:
- PUID=1001 #Change this if different
- PGID=100 #Change this if different
- TZ=America/Chicago #Change timezone if different
restart: always
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- 'CHANGE_TO_COMPOSE_DATA_PATH/portainer/portainer_data:/data'
image: 'portainer/portainer-ce:latest'

Dans la vidéo qui se trouve dans les sources, tout est expliqué et il faut juste suivre les étapes.

sources: https://www.youtube.com/watch?v=2hU8e61UE9w&t=4s
https://wiki.omv-extras.org/
https://github.com/robwithtech/homelab/blob/main/docker%20compose/Portainer/Portainer.yml

Laisser un commentaire