File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed
amd64/hello-world/nanoserver-ltsc2025 Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ $(C_TARGETS): hello.c $(MUSL_GCC)
31
31
$(STRIP ) --strip-all --remove-section=.comment ' $@'
32
32
@if [ ' $(TARGET_ARCH)' = ' amd64' ]; then \
33
33
for winVariant in \
34
+ nanoserver-ltsc2025 \
34
35
nanoserver-ltsc2022 \
35
36
nanoserver-1809 \
36
37
; do \
Original file line number Diff line number Diff line change
1
+ FROM mcr.microsoft.com/windows/nanoserver:ltsc2025
2
+ COPY hello.txt C:
3
+ CMD ["cmd" , "/C" , "type C:\\ hello.txt" ]
Original file line number Diff line number Diff line change
1
+
2
+ Hello from Docker!
3
+ This message shows that your installation appears to be working correctly.
4
+
5
+ To generate this message, Docker took the following steps:
6
+ 1. The Docker client contacted the Docker daemon.
7
+ 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
8
+ (windows-amd64, nanoserver-ltsc2025)
9
+ 3. The Docker daemon created a new container from that image which runs the
10
+ executable that produces the output you are currently reading.
11
+ 4. The Docker daemon streamed that output to the Docker client, which sent it
12
+ to your terminal.
13
+
14
+ To try something more ambitious, you can run a Windows Server container with:
15
+ PS C:\> docker run -it mcr.microsoft.com/windows/servercore:ltsc2025 powershell
16
+
17
+ Share images, automate workflows, and more with a free Docker ID:
18
+ https://hub.docker.com/
19
+
20
+ For more examples and ideas, visit:
21
+ https://docs.docker.com/get-started/
22
+
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ for arch in "${arches[@]}"; do
63
63
done
64
64
65
65
for winVariant in \
66
+ nanoserver-ltsc2025 \
66
67
nanoserver-ltsc2022 \
67
68
nanoserver-1809 \
68
69
; do
You can’t perform that action at this time.
0 commit comments