Or do something funky like using a privileged Docker container built from 22.04 (or anything else with old enough samba) to mount the samba share onto a volume that sits on the host OS. ๐
Something like:
- Create a mount point, say
/media/myshare
docker run --privileged -it --rm -v /media/myshare:/mnt ubuntu:22.04 bash
mount -t cifs //<host>/<path> /mnt -o user=<user>,password=<user>
- Check the contents of
/media/myshare
on the host.
If it works, you could bake this into a startup script for the Docker image. Run it with the appropriate --cap-add
instead of --privileged
. Start it on boot via systemd.
It was incredible watching it unfold, even more so from the offices of a smartphone competitor.