Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Can't mount windows paths | or how to mount? #740

Open
MrMarvel opened this issue Dec 23, 2024 · 2 comments
Open

Can't mount windows paths | or how to mount? #740

MrMarvel opened this issue Dec 23, 2024 · 2 comments

Comments

@MrMarvel
Copy link

Running Windows 11 24H2
using containerized slim

Expected Behavior

Mounting is working normal on Windows paths


Actual Behavior

Not working at all.

image


Steps to Reproduce the Problem

  1. Make a container docker build -t container_name .
  2. Run slim with mount docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock dslim/slim build --http-probe=false --mount "type=bind,source=D:\TEMP\container_data,target=/app/container_data" container_name

Specifications

  • Version: slim version linux/amd64|Transformer|1.40.11|1b271555882eacdfb4e6598d6d0552e9b9b1449b|2024-02-02_01:36:22PM
  • Platform: Windows 11 24H2

Running Windows 11 24H2
Server: Docker Desktop 4.37.1 (178610)
Engine:
Version: 27.4.0
WSL:
Version WSL: 2.3.26.0
Kernel version: 5.15.167.4-1

@MrMarvel MrMarvel changed the title Can't mount windows paths Can't mount windows paths or how to mount Dec 23, 2024
@MrMarvel MrMarvel changed the title Can't mount windows paths or how to mount Can't mount windows paths | or how to mount Dec 23, 2024
@MrMarvel MrMarvel changed the title Can't mount windows paths | or how to mount Can't mount windows paths | or how to mount? Dec 23, 2024
@kcq
Copy link
Member

kcq commented Feb 13, 2025

@MrMarvel this would be a pretty sweet enhancement to add support for Windows paths. There's a number of places where Unix paths are assumed and constructed instead of using generic file path manipulation instructions. The main blocker for me is not having a Windows environment to test the enhancements :-) If anybody has ideas how to solve it in a creative way I'm happy to explore different options.

@MrMarvel
Copy link
Author

If anybody has ideas how to solve it in a creative way I'm happy to explore different options.

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants