Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Getting error from sender <path>: Access is denied. When context is being transferred on Windows 10 and path is longer than 260 characters #1086

Closed
wholenewstrain opened this issue Jul 17, 2019 · 3 comments

Comments

@wholenewstrain
Copy link

$ docker version
Client: Docker Engine - Community
Version: 18.09.2
API version: 1.39
Go version: go1.10.8
Git commit: 6247962
Built: Sun Feb 10 04:12:31 2019
OS/Arch: windows/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 18.09.2
API version: 1.39 (minimum version 1.12)
Go version: go1.10.6
Git commit: 6247962
Built: Sun Feb 10 04:13:06 2019
OS/Arch: linux/amd64
Experimental: false

@wholenewstrain wholenewstrain changed the title Getting error from sender <path>: Access is denied. when context is being transferred on Windows 10 when path is longer than 260 characters Getting error from sender <path>: Access is denied. When context is being transferred on Windows 10 and path is longer than 260 characters Jul 17, 2019
@wholenewstrain
Copy link
Author

wholenewstrain commented Jul 24, 2019

Steps to re-create:
Enable long paths on Windows 10
Create a long path in a project, longer than 260 characters \aaa\bbb\ccc .....
Create a Dockerfile and make sure context will include the created long path
Enable build kit

Run docker build -f Dockerfile .
Getting Access denied error when sending context

Sample (used 7zip):
EnableLongPaths.zip
long-paths-error-sample.zip

@profnandaa
Copy link
Collaborator

Looks like the second zip file is corrupted. Is it possible to share your dockerfile?

@profnandaa
Copy link
Collaborator

Duplicate of #1366 -- no longer repro, seems it was fixed along the way.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants