#! /bin/sh me=$(basename $(pwd)) podman rm $me # You gotta use host networking to get discovery gubbins podman run \ --name $me \ --network host \ --env NMBD=enable \ --env RECYCLE=disable \ --env USERID=911 \ --env GROUPID=911 \ --env SHARE1='drive;/srv;yes;no;no' \ --env SHARE2='media;/srv/media;yes;yes;yes' \ --env-file /srv/secrets/samba-users.env \ --volume /srv:/srv \ dperson/samba