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

[Question]: how to install windows on network drive? #1005

Open
2 tasks done
AyushSaxena-Tech opened this issue Jan 12, 2025 · 2 comments
Open
2 tasks done

[Question]: how to install windows on network drive? #1005

AyushSaxena-Tech opened this issue Jan 12, 2025 · 2 comments
Labels
question Further information is requested

Comments

@AyushSaxena-Tech
Copy link

Is your question not already answered in the FAQ?

  • I made sure the question is not listed in the FAQ.

Is this a general question and not a technical issue?

  • I am sure my question is not about a technical issue.

Question

Hi All,
Following is my docker.yaml contents
services:
windows:
image: dockurr/windows
container_name: windows_container_sharedrive
environment:
VERSION: "win11"
RAM_SIZE: "6G"
CPU_CORES: "4"
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
volumes:
- mywindowsvolume:/storage
stop_grace_period: 2m

volumes:
mywindowsvolume:
external: true

and command I use to create mywindowsvolume is
docker volume create --driver local --opt type=cifs --opt device=//192.168.1.98/plex/docker/Windows --opt o=user=dockeruser,password='xxxxxxxx' mywindowsvolume

when I try to run it using
docker-compose -f .\Docker_yml_files\Windows.yml up

I am getting
windows_container_sharedrive | ❯ Starting Windows for Docker v4.00...
windows_container_sharedrive | ❯ For support visit https://github.com/dockur/windows
windows_container_sharedrive | ❯ CPU: 12th Gen Intel Core TM i9 12900HK | RAM: 14/16 GB | DISK: 6849 GB (smb2) | HOST: 5.15.153.1-microsoft-standard-WSL2...
windows_container_sharedrive |
windows_container_sharedrive | ❯ Booting Windows using QEMU v9.1.0...
windows_container_sharedrive | qemu-system-x86_64: Could not update PFLASH: Permission denied
windows_container_sharedrive | ❯ ERROR: Timeout while waiting for QEMU to boot the machine!
windows_container_sharedrive | qemu-system-x86_64: terminating on signal 15 from pid 215 ()
windows_container_sharedrive | ❯ Shutdown completed!

I have already given all access to folder where it is trying to create windows os files (attached)
Screenshot 2025-01-12 152311

what am I missing here?

@AyushSaxena-Tech AyushSaxena-Tech added the question Further information is requested label Jan 12, 2025
@kroese
Copy link
Contributor

kroese commented Jan 12, 2025

Looks like it has problems writing to mywindowsvolume, maybe because it is on a network share.

@AyushSaxena-Tech
Copy link
Author

Looks like it has problems writing to mywindowsvolume, maybe because it is on a network share.

I have mapped the dive on windows machine and can create delete files and used same user to create the volume in docker.

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

No branches or pull requests

2 participants