Getting "error while resolving symlinks in base directory" when using subpath #47707
Labels
area/volumes
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
status/0-triage
Description
Getting the following error when using the subpath feature on a CIFS volume with configured
uid
andgid
.Error response from daemon: error while resolving symlinks in base directory "/var/lib/docker/volumes/volume_name/_data": lstat /var/lib/docker/volumes/volume_name/_data: stale NFS file handle
Reproduce
uid
andgid
docker compose up -d
The following docker-compose worked (without using subpath):
Note: I'm using SMB share from Windows 10 machine.
Expected behavior
No response
docker version
Client: Docker Engine - Community Version: 26.0.0 API version: 1.45 Go version: go1.21.8 Git commit: 2ae903e Built: Wed Mar 20 15:17:48 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 26.0.0 API version: 1.45 (minimum version 1.24) Go version: go1.21.8 Git commit: 8b79278 Built: Wed Mar 20 15:17:48 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.28 GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: