moby/volume
Rob Murray baca6cb417 Don't allow port in CIFS URL
When creating a CIFS volume, generate an error if the device URL
includes a port number, for example:
   --opt device="//some.server.com:2345/thepath"

The port must be specified in the port option instead, for example:
    --opt o=username=USERNAME,password=PASSWORD,vers=3,sec=ntlmsspi,port=1234

Signed-off-by: Rob Murray <rob.murray@docker.com>
2023-12-04 10:08:09 +00:00
..
drivers migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
local Don't allow port in CIFS URL 2023-12-04 10:08:09 +00:00
mounts migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
service migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
testutils linting: gosec: fix or suppress G112, G114 in test code 2022-09-04 15:36:51 +02:00
volume.go Restore active mount counts on live-restore 2023-06-27 16:33:23 +00:00