How to attach a sql db with blobs using a shared folder?
Apparently it is not supported to use "localhost"

https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-with-smb-fileshare-as-a-storage-option?view=sql-server-2017

You may need to use another server instead of localhost.