OpenPrinting / OpenPrinting/ghostscript-printer-app
Docker container should be able to interact with host avahi-daemon
Nessuno ha ancora preso questa issue.
- Lingua principale
- PostScript
- Stelle
- 44
- Fork
- 16
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
On systems like TrueNAS, it is not possible to disable the host's avahi-daemon, and it takes over the 5353 port on every interface. Which means that the docker container cannot expose printers to the network.
Currently, attempting to bind-mount /var/run/dbus to the docker container in an attempt to make it use the system avahi-daemon makes the host very unhappy because the container's dbus daemon stomps the host's file.
With CUPS, you can bind-mount /var/run/dbus to a container that runs CUPSD and it happily uses that avahi-daemon to share printers over the network.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia ispezionando la configurazione del container e il comportamento all’avvio relativo a /var/run/dbus, quindi confronta l’approccio di bind-mount di CUPS descritto. Il lavoro è completato quando il container può usare l’avahi-daemon dell’host per esporre le stampanti senza che il suo daemon D-Bus sovrascriva il socket dell’host o richieda di associare nuovamente la porta 5353.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker
- Ambito
- infrastructure, networking
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 45/100