Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MSVC does not support long paths inside Docker container #622

Open
Labels
bugSomething isn't working triageNew and needs attention

Description

Describe the bug
Apparently MSVC does not support long paths inside a Docker container. On the host, it works perfectly fine.

To Reproduce
I've prepared a minimal repo: https://github.com/jdoubleu/msvc-docker-bug
Steps to reproduce the behavior:

  1. clone the above repo
  2. run docker build -t msvc-docker-bug .

The Dockerfile should be self-explanatory.

Expected behavior
The second compilation from the Dockerfile should work just as fine as the first one.

The behavior should match the host environment, where MSVC does not have any issues working with long paths. Even when long path support has not been enabled system-wide.

Configuration:

  • Edition: Windows 11 Pro (10.0.22631 Build 22631)
  • Base Image being used: mcr.microsoft.com/windows/servercore:ltsc2022
  • Container engine: docker
  • Container Engine version: Docker version 27.5.1, build 9f9e405

Additional information:
Related issue: #361

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working triageNew and needs attention

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /