dockur / windows

Windows inside a Docker container.
MIT License
15.51k stars 1.27k forks source link

[Feature]: Support for mounting ISO files as CDROMs #627

Open emiellr opened 4 days ago

emiellr commented 4 days ago

Is your proposal related to a problem?

As it stands now, there isn't a straightforward way in Dockur (afaik) to mount an ISO file so it gets recognized as a CDROM in the operating system. Lots of software for Windows XP requires a CD to be inserted for the software to even start at all.

Describe the solution you'd like.

Make any ISO mounted as a volume be added to the VM.

volumes:
  ...
  - ./cdrom.iso:/cdrom/cd1.iso

Describe alternatives you've considered.

Adding the ISO to the container and editing the vm config manually, not reproducible though.

Additional context

No response

kroese commented 3 days ago

You can already do that this way:

volumes:
  - ./cdrom.iso:/drivers.iso

(Its ment for the CD with drivers, but works for any ISO).