Skip to content

Commit 837f007

Browse files
authored
docs: Use relative paths (#272)
1 parent 5606964 commit 837f007

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

compose.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ services:
1313
- 8006:8006
1414
- 3389:3389/tcp
1515
- 3389:3389/udp
16+
volumes:
17+
- ./windows:/storage
1618
restart: always
1719
stop_grace_period: 2m

kubernetes.yml

-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ spec:
3232
env:
3333
- name: VERSION
3434
value: "11"
35-
- name: RAM_SIZE
36-
value: "4G"
37-
- name: CPU_CORES
38-
value: "2"
3935
- name: DISK_SIZE
4036
value: "64G"
4137
ports:

readme.md

+14-12
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,22 @@ services:
4444
- 8006:8006
4545
- 3389:3389/tcp
4646
- 3389:3389/udp
47+
volumes:
48+
- ./windows:/storage
4749
restart: always
4850
stop_grace_period: 2m
4951
```
5052
5153
Via Docker CLI:
5254
5355
```bash
54-
docker run -it --rm -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows
56+
docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v ${PWD:-.}/windows:/storage --stop-timeout 120 dockurr/windows
5557
```
5658

5759
Via Kubernetes:
5860

5961
```shell
60-
kubectl apply -f https://raw.githubusercontent.com/dockur/windows-arm/refs/heads/master/kubernetes.yml
62+
kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/master/kubernetes.yml
6163
```
6264

6365
## Compatibility ⚙️
@@ -112,10 +114,10 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows-arm/refs/heads
112114

113115
```yaml
114116
volumes:
115-
- /var/win:/storage
117+
- ./windows:/storage
116118
```
117119

118-
Replace the example path `/var/win` with the desired storage folder.
120+
Replace the example path `./windows` with the desired storage folder or named volume.
119121

120122
### How do I change the size of the disk?
121123

@@ -150,10 +152,10 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows-arm/refs/heads
150152

151153
```yaml
152154
volumes:
153-
- /home/user/example:/data
155+
- ./example:/data
154156
```
155157

156-
The example folder `/home/user/example` will be available as ` \\host.lan\Data`.
158+
The example folder `./example` will be available as ` \\host.lan\Data`.
157159

158160
> [!TIP]
159161
> You can map this path to a drive letter in Windows, for easier access.
@@ -171,10 +173,10 @@ The example folder `/home/user/example` will be available as ` \\host.lan\Data`.
171173

172174
```yaml
173175
volumes:
174-
- /home/user/example.iso:/custom.iso
176+
- ./example.iso:/custom.iso
175177
```
176178

177-
Replace the example path `/home/user/example.iso` with the filename of your desired ISO file. The value of `VERSION` will be ignored in this case.
179+
Replace the example path `./example.iso` with the filename of your desired ISO file. The value of `VERSION` will be ignored in this case.
178180

179181
### How do I run a script after installation?
180182

@@ -184,10 +186,10 @@ The example folder `/home/user/example` will be available as ` \\host.lan\Data`.
184186

185187
```yaml
186188
volumes:
187-
- /home/user/example:/oem
189+
- ./example:/oem
188190
```
189191

190-
The example folder `/home/user/example` will be copied to `C:\OEM` and the containing `install.bat` will be executed during the last step of the automatic installation.
192+
The example folder `./example` will be copied to `C:\OEM` and the containing `install.bat` will be executed during the last step of the automatic installation.
191193

192194
### How do I perform a manual installation?
193195

@@ -316,8 +318,8 @@ The example folder `/home/user/example` will be available as ` \\host.lan\Data`.
316318
DISK2_SIZE: "32G"
317319
DISK3_SIZE: "64G"
318320
volumes:
319-
- /home/example:/storage2
320-
- /mnt/data/example:/storage3
321+
- ./example2:/storage2
322+
- ./example3:/storage3
321323
```
322324

323325
### How do I pass-through a disk?

0 commit comments

Comments
 (0)