container with cifs volume and "addr"-option does not start with version 25 #47184
Labels
area/ux
area/volumes
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
version/25.0
Description
The fix for resolving FQDN with cifs volumes did break the old workaround with the addr-option.
Container that run with v24 does not start with v25.
Even if it is no longer necessary to include the "addr" option, it should still work.
#46863
And the documentation still shows the old workaround as necessary:
https://docs.docker.com/storage/volumes/#create-cifssamba-volumes
Reproduce
docker compose up
Expected behavior
Starting the container with volume as it worked with v24
docker version
Client: Docker Engine - Community Version: 25.0.0 API version: 1.44 Go version: go1.21.6 Git commit: e758fe5 Built: Thu Jan 18 17:09:49 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 25.0.0 API version: 1.44 (minimum version 1.24) Go version: go1.21.6 Git commit: 615dfdf Built: Thu Jan 18 17:09:49 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.27 GitCommit: a1496014c916f9e62104b33d1bb5bd03b0858e59 runc: Version: 1.1.11 GitCommit: v1.1.11-0-g4bccb38 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
To successfully start the above compose with version 25, the option "addr" must be removed and the FQDN must be used inside device
The text was updated successfully, but these errors were encountered: