dockur / windows

Windows inside a Docker container.
MIT License
29.22k stars 1.99k forks source link

[Question]: how can i build it and rerun it? #731

Closed Gedankenn closed 2 months ago

Gedankenn commented 2 months ago

Is your question not already answered in the FAQ?

Is this a general question and not a technical issue?

Question

it keeps redownloading the windows image, someone please know how to do it? im needing help with it.

marcopaganini commented 2 months ago

You need to define a "storage" location in your docker-compose.yml file. Basically:

volumes:
  - LOCAL_DIRETORY_TO_HOLD_IMAGE:/storage

With this, the windows image will be created on your local drive, instead of inside the container. Next time you run it, it will detect an installation and just start it.

Gedankenn commented 2 months ago

ohhh, thanks, really thanks, i added the image location, but not the storage.

Gedankenn commented 2 months ago

@marcopaganini i'm still with trouble to run the proper commands and stuff, you know any documentation on docker and how to propper build and run things?, i found lots of tutorials but all the commands the guys use does'nt run.