[Question]: Restarting the program
Is your question not already answered in the FAQ?
- [X] I made sure the question is not listed in the FAQ.
Is this a general question and not a technical issue?
- [X] I am sure my question is not about a technical issue.
Question
After the program closes, how do you restart it other than the initial docker run script?
docker start windows ? But this seems more like a general Docker question.
Didn't work, it couldn't find the container, how would I go about getting the container? (I've already installed the instance of windows and everytime I run the docker script it gives me a storage error)
If you use the run command, are you using the --rm (remove) flag? Because in that case its normal that everything gets deleted every time.
I'm just using the docker CLI command in the repo's readme file that of being "docker run -it --rm -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows". Can I modify this script to be able to run it without deleting everything and thus be able to start it?
Yes.. the example removes everything (because its just an example). So just remove the --rm parameter and you will be fine.
I removed the --rm parameter but still get the same error, "ERROR: Not enough free space in /storage, have 2 GB available but need at least 6 GB."
How do you get it to retain the download and not redownload
It will always retain the download. Just use the example compose file, and if using the run command then do not use the --rm flag.
Forgot to mention, but I got it to work after some experimenting by using docker sp -a and then running docker start (container_name)
Never heard of docker sp so I have no clue what it does, but Im glad it works now in any case.
It lists containers