Comments (4)
No, but without knowing a lot more about how you are running things really can't say anything more
from nginx-proxy-avahi-helper.
Sure, that's fair. First I just wanted a basic sanity check about how the container was meant to function, so thank you for getting back to me, I really appreciate it. Let me describe my setup a bit more:
-
This is a Mac M1 Mini, using Docker Desktop (v. 20.10.22, build 3a2c30b) and a docker-compose file to wrangle a couple of services. They all have web UI's on different ports.
-
Here's the relevant sections of my docker-compose:
version: "2.1"
services:
avahi-helper:
image: hardillb/nginx-proxy-avahi-helper:latest
container_name: avahi-helper
network_mode: host
volumes:
- /run/dbus/system_bus_socket:/run/dbus/system_bus_socket
- /var/run/docker.sock:/tmp/docker.sock
resilio-sync:
image: lscr.io/linuxserver/resilio-sync:latest
container_name: resilio-sync
environment:
- PUID=1000
- PGID=1000
- TZ=ICT
- VIRTUAL_HOST=sync.feste.local
- VIRTUAL_PORT=8888
volumes:
- $PWD/.sync:/config
- $HOME/Downloads:/downloads
- /Volumes/BKUP/sync:/sync
ports:
- 8888:8888
- 55554:55555
restart: unless-stopped
depends_on:
avahi-helper:
condition: service_started
I'm not a Docker expert, so that's based on documentation from linuxserver.io and my best guess from the nginx-proxy-avahi-helper
examples. Whether I start the container using docker-compose or directly at the command line, it immediately terminates. Inspecting the container logs gives the above output (immediate SIGTERM to dockergen and cname.)
Thank you for the time you've already spent and please accept my gratitude for any assistance you feel you can provide. I appreciate that this is probably a side project for you; if there's an alternative way to get CNAMEs to work in Avahi/mDNS in Docker you'd like to direct me to I'd be happy to pursue that, instead.
from nginx-proxy-avahi-helper.
The host OS will need to be Linux, it will not work with macOS
from nginx-proxy-avahi-helper.
Just to be clear here:
- There is no avahi running on MacOS (They provide their own mDNS implementation)
- There is no dbus (how the container talks to avahi on the host machine) so
/run/dbus/system_bus_socket
doesn't exist
from nginx-proxy-avahi-helper.
Related Issues (6)
- AppArmour issues on Mate Linux HOT 4
- 502 Bad Gateway HOT 2
- Kubernetes Without Docker Runtime HOT 3
- Can't find host HOT 11
- org.freedesktop.Avahi.NotSupportedError error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-proxy-avahi-helper.