You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browsing macOS 15.3 Finder's "Networks" shows an entry called "files". Double-clicking it fails to connect.
Using Finder's "Go to server" I can use the correct URL for my Samba container, which opens, and adds another entry called "files.local" (with the TimeCapsule icon) into Finder's "Networks".
What I expected
I expected "Networks" to list my Samba container with the TimeCapsule icon, and for opening it to succeed and show the list of shares.
More info
My docker host is called portainer.local, and my Samba container using macvlan networking is called files.local. The entrypoint.sh script is writing this samba.service:
I think <hostname> needs to go in the _device-info._tcp section. Maybe the others too? Currently the dns-sd tool in macOS outputs the portainer address, which may explain the failure to connect.
$ dns-sd -L files _device-info._tcp
Lookup files._device-info._tcp.local
DATE: ---Sat 01 Feb 2025---
14:17:14.671 ...STARTING...
14:17:15.102 files._device-info._tcp.local. can be reached at portainer.local.:0 (interface 14)
model=TimeCapsule
But I don't really understand what's happening or what Finder is expecting.
The text was updated successfully, but these errors were encountered:
I agree, zeroconf is only going to work on the LAN, which is fine. I'm apparently seeing all the published records so that part seems "OK".
I am using the example compose template, which does appear to create that samba.service file on the docker host, so must be relying on the host to publish the records, explaining the unexpected hostname. I was expecting the samba container to be publishing the service instead..
So removing the volume mapping '/etc/avahi/services/:/external/avahi' and the now bogus samba.service from the docker host (and reloading its avahi-service), does fix the dns-sd output.
Unfortunately I'm still getting 'files' (an iMac icon) in "Networks", which still does not open. Again, "go to server" with files.local works (and adds a server with the expected custom icon.) Maybe there's some stale stuff in Networks; I'm not sure how to debug that though except by rebooting the Mac. Which is kind of a 🔨 .
What I see
Browsing macOS 15.3 Finder's "Networks" shows an entry called "files". Double-clicking it fails to connect.
Using Finder's "Go to server" I can use the correct URL for my Samba container, which opens, and adds another entry called "files.local" (with the TimeCapsule icon) into Finder's "Networks".
What I expected
I expected "Networks" to list my Samba container with the TimeCapsule icon, and for opening it to succeed and show the list of shares.
More info
My docker host is called
portainer.local
, and my Samba container usingmacvlan
networking is calledfiles.local
. Theentrypoint.sh
script is writing thissamba.service
:Wild guess
I think
<hostname>
needs to go in the_device-info._tcp
section. Maybe the others too? Currently thedns-sd
tool in macOS outputs theportainer
address, which may explain the failure to connect.But I don't really understand what's happening or what Finder is expecting.
The text was updated successfully, but these errors were encountered: