I wouldn’t worry about mounting your nfs shares directly to those host unless you need to. Compose has an operator similar to k8s that lets docker itself manage the shares, which is insanely useful if you lose your host. Then you don’t have to have piles of scripts to mount them.
version: "3.2"
services:
rsyslog:
image: jumanjiman/rsyslog
ports:
- "514:514"
- "514:514/udp"
volumes:
- type: volume
source: example
target: /nfs
volume:
nocopy: true
volumes:
example:
driver_opts:
type: "nfs"
o: "addr=10.40.0.199,nolock,soft,rw"
device: ":/docker/example"
Exactly. It was a douche and a turd sandwich. Refusing to vote because “they’re a turd sandwich” is simply saying “I’m okay with the douche”. It’s a 2 party system. There are no good candidates. Only one that’s marginally better than the other. Not voting is tacitly voting for the worst one.