mirror of
https://github.com/dockur/windows.git
synced 2026-02-04 07:59:43 +00:00
chore: split compose into separate files
- Split compose.yml into two files: compose.yml for running and compose.prepare.yml for golden image preparation - Rename env vars STORAGE->STORAGE_DIR and ISO->ISO_FILE to avoid conflicts with internal script variables - Remove unused VERSION env var (hardcoded in scripts) - Update README with new command syntax
This commit is contained in:
parent
f80bb8202c
commit
e241426eea
4 changed files with 25 additions and 19 deletions
|
|
@ -16,13 +16,13 @@ Local Windows inside a Docker container.
|
|||
|
||||
To prepare a golden image from a custom ISO:
|
||||
```bash
|
||||
STORAGE=/path/to/storage ISO=/path/to/custom.iso \
|
||||
docker compose --profile prepare-golden-image up
|
||||
STORAGE_DIR=/path/to/storage ISO_FILE=/path/to/custom.iso \
|
||||
docker compose -f compose.prepare.yml up
|
||||
```
|
||||
|
||||
Start the container:
|
||||
Start the container (using the golden image):
|
||||
```bash
|
||||
STORAGE=/path/to/storage docker compose up
|
||||
STORAGE_DIR=/path/to/storage docker compose up
|
||||
```
|
||||
|
||||
### Via Docker CLI:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue