moby/volume/local
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
..
local.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
local_linux_test.go Don't allow port in CIFS URL 2023-12-04 10:08:09 +00:00
local_test.go volume: format code with gofumpt 2023-06-29 00:05:23 +02:00
local_unix.go Don't allow port in CIFS URL 2023-12-04 10:08:09 +00:00
local_windows.go volume/local: Don't unmount, restore mounted status 2023-08-29 14:16:37 +02:00