docker-volume-netshare
docker-volume-netshare copied to clipboard
--netrc confusingly takes a path, not path+file, to .netrc
I assumed that I could run --netrc /path/to/netrc
However this results in the error: "Could not open /path/to/netrc/.netrc"
I think it'd be more sensible if --netrc took the complete path+file, which is how everything else on the planet works.
If you want to keep backwards compatibility, you could try opening the literal --netrc parameter, and if it doesn't exist, check for a parameter+"/.netrc" too.