Compare commits

...

3 Commits

Author SHA1 Message Date
Kroese
c9abc7551a
fix: Remove port 80 (#1124)
Some checks are pending
Build / Test (push) Waiting to run
Build / Build (push) Blocked by required conditions
Update / dockerHubDescription (push) Waiting to run
2025-03-18 05:19:44 +01:00
renovate[bot]
156eaaa2da
build: Update qemu-docker to v7.01 (#1123) 2025-03-18 04:46:27 +01:00
Kroese
9ffc4647aa
build: Update qemu-docker to v7.01 (#1122) 2025-03-18 04:11:08 +01:00
5 changed files with 8 additions and 13 deletions

View File

@ -1,7 +1,7 @@
ARG VERSION_ARG="latest"
FROM scratch AS build-amd64
COPY --from=qemux/qemu:7.00 / /
COPY --from=qemux/qemu:7.01 / /
ARG DEBCONF_NOWARNINGS="yes"
ARG DEBIAN_FRONTEND="noninteractive"
@ -10,16 +10,11 @@ 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 && \
@ -37,7 +32,7 @@ ARG VERSION_ARG="0.00"
RUN echo "$VERSION_ARG" > /run/version
VOLUME /storage
EXPOSE 80 3389
EXPOSE 3389 8006
ENV VERSION="11"
ENV RAM_SIZE="4G"

View File

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

View File

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

View File

@ -41,7 +41,7 @@ services:
cap_add:
- NET_ADMIN
ports:
- 8006:80
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
volumes:
@ -53,7 +53,7 @@ services:
Via Docker CLI:
```bash
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
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
```
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://localhost:8006) using your web browser.
- Start the container and connect to [port 8006](http://127.0.0.1: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://localhost:8006/ to view the screen..."
info "Windows started succesfully, visit http://127.0.0.1:8006/ to view the screen..."
return 0
fi
fi