Compare commits

..

No commits in common. "c9abc7551ab871a6b4086356fc3cd05c5b403047" and "5501437caab291b93b28fac200e74b08bd45e2e8" have entirely different histories.

5 changed files with 13 additions and 8 deletions

View File

@ -1,7 +1,7 @@
ARG VERSION_ARG="latest"
FROM scratch AS build-amd64
COPY --from=qemux/qemu:7.01 / /
COPY --from=qemux/qemu:7.00 / /
ARG DEBCONF_NOWARNINGS="yes"
ARG DEBIAN_FRONTEND="noninteractive"
@ -10,11 +10,16 @@ ARG DEBCONF_NONINTERACTIVE_SEEN="true"
RUN set -eu && \
apt-get update && \
apt-get --no-install-recommends -y install \
bc \
jq \
7zip \
wsdd \
samba \
xz-utils \
wimtools \
dos2unix \
cabextract \
genisoimage \
libxml2-utils \
libarchive-tools && \
apt-get clean && \
@ -32,7 +37,7 @@ ARG VERSION_ARG="0.00"
RUN echo "$VERSION_ARG" > /run/version
VOLUME /storage
EXPOSE 3389 8006
EXPOSE 80 3389
ENV VERSION="11"
ENV RAM_SIZE="4G"

View File

@ -10,7 +10,7 @@ services:
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 8006:80
- 3389:3389/tcp
- 3389:3389/udp
volumes:

View File

@ -82,7 +82,7 @@ spec:
- name: http
port: 8006
protocol: TCP
targetPort: 8006
targetPort: 80
- name: rdp
port: 3389
protocol: TCP

View File

@ -41,7 +41,7 @@ services:
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 8006:80
- 3389:3389/tcp
- 3389:3389/udp
volumes:
@ -53,7 +53,7 @@ services:
Via Docker CLI:
```bash
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
docker run -it --rm --name windows -p 8006:80 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v ${PWD:-.}/windows:/storage --stop-timeout 120 dockurr/windows
```
Via Kubernetes:
@ -78,7 +78,7 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas
Very simple! These are the steps:
- Start the container and connect to [port 8006](http://127.0.0.1:8006/) using your web browser.
- Start the container and connect to [port 8006](http://localhost:8006) using your web browser.
- Sit back and relax while the magic happens, the whole installation will be performed fully automatic.

View File

@ -35,7 +35,7 @@ boot() {
grep -Fq "BOOTMGR is missing" "$QEMU_PTY" && fail="y"
fi
if [ -z "$fail" ]; then
info "Windows started succesfully, visit http://127.0.0.1:8006/ to view the screen..."
info "Windows started succesfully, visit http://localhost:8006/ to view the screen..."
return 0
fi
fi