Docker Desktop bind volumes empty on MacOS M1 Mac mini using AFP

I am fairly new to Docker, and am loving it. I am using Docker Desktop 4.40.0 with Docker 28.0.4 on the back end on an M1 Mac mini. I am attempting to attach previously created mounts on my NAS to containers, but the bind volumes in Docker appear empty. The crazy things are first, this only happens if they are mounted as AFP, but work when SMB mounted. Second, the mounts actually work in AFP, but for some reason just won’t show the file listings.

To further explain things, assume I have two network shares on my NAS and have mounted them on the Mac mini. I have mounted one using AFP (for reliability reasons), and the other using SMB. Both of these are visible on the Mac and work correctly.

-v /Volumes/wordsAFP:/wordsAFP
-v /Volumes/wordsSMB:/wordsSMB

Inside docker, the SMB version will work. The AFP version will not. If I use the touch command and create a file, it appears on the network share, but not inside the docker image.

root@db003c0ed490:/# ls -al /wordsAFP
total 0
root@db003c0ed490:/# touch /wordsAFP
root@db003c0ed490:/# ls -al /wordsAFP
total 0
root@db003c0ed490:/# touch /wordsAFP

I am not sure what else to try. I have replicated this on two machines running MacOS Sequoia 15.4. One of these was a totally clean Docker install. I have also included an example of my Docker run command below too. Any thoughts would be appreciated.

docker run -d \
  --name=opensprinkler \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Australia/Sydney \
  -p 8765:8765 \
  -v /Users/darryl/opensprinkler/data:/data \
  -v /Volumes/wordsAFP:/wordsAFP \
  --restart unless-stopped \
  vampywiz17/opensprinkler:latest