Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

description:sync gists with given description

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab Gist con l'argomento dato

all:systemctl search all fields

Entra

Tutti Nuovi Entra

Tutti i gist corrispondenti all'argomento Socks

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento
Erreur32's Avatar

Erreur32 / docker-systemd-sock-restartauto.md

1 mi piace
0 forks
1 files
Ultima volta attivo 1 month ago
Restart des container declarant /var/run/docker.sock dasn le compose .
Docker MAJ Socks restart

Tutoriel complet – Redémarrage automatique des containers utilisant docker.sock

Contexte

Sur Debian, lors d’une mise à jour Docker (apt upgrade) :

  • le service docker.service est redémarré
  • le socket /var/run/docker.sock est recréé
  • les containers qui montent ce socket (Portainer, Dozzle, Telegraf, etc.) restent UP mais ne fonctionnent plus
  • un docker compose down && up -d corrige le problème mais est destructif (réseaux recréés, coupure de service)
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 24ms⋅

Italiano
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文