mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
Update readme.md
This commit is contained in:
parent
dc106f0957
commit
69951d9341
1 changed files with 2 additions and 2 deletions
|
|
@ -179,14 +179,14 @@ docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_
|
||||||
|
|
||||||
* ### How do I run a script after installation?
|
* ### How do I run a script after installation?
|
||||||
|
|
||||||
To run your own script after installation, you can create a file called `install.bat` and place it in a folder together with all other files it needs (programs to install for example). Then bind it in your compose file like this:
|
To run your own script after installation, you can create a file called `install.bat` and place it in a folder together with other files it needs (programs to install for example). Then bind it in your compose file like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
volumes:
|
volumes:
|
||||||
- /home/user/example:/storage/oem
|
- /home/user/example:/storage/oem
|
||||||
```
|
```
|
||||||
|
|
||||||
The example path `/home/user/example` will be copied to `C:\OEM` during installation.
|
The example path `/home/user/example` will be copied to `C:\OEM` during installation and the containing `install.bat` will be executed.
|
||||||
|
|
||||||
* ### How do I perform a manual installation?
|
* ### How do I perform a manual installation?
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue