Update Windows with a PowerShell prompt and windowsservercore
This commit is contained in:
parent
e26832af4f
commit
b63893caa6
6
Makefile
6
Makefile
|
|
@ -13,7 +13,11 @@ $(C_TARGETS): hello.c
|
|||
$(STRIP) -R .comment -s '$@'
|
||||
@if [ '$(TARGET_ARCH)' = 'amd64' ]; then \
|
||||
mkdir -p '$(@D)/nanoserver'; \
|
||||
'$@' | sed -e 's/an Ubuntu container/a Nano Server container/g' -e 's!ubuntu bash!microsoft/nanoserver powershell!g' > '$(@D)/nanoserver/hello.txt'; \
|
||||
'$@' | sed \
|
||||
-e 's/an Ubuntu container/a Windows Server container/g' \
|
||||
-e 's!ubuntu bash!microsoft/windowsservercore powershell!g' \
|
||||
-e 's![$$] docker!PS C:\\> docker!g' \
|
||||
> '$(@D)/nanoserver/hello.txt'; \
|
||||
fi
|
||||
|
||||
.PHONY: clean
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ To generate this message, Docker took the following steps:
|
|||
4. The Docker daemon streamed that output to the Docker client, which sent it
|
||||
to your terminal.
|
||||
|
||||
To try something more ambitious, you can run a Nano Server container with:
|
||||
$ docker run -it microsoft/nanoserver powershell
|
||||
To try something more ambitious, you can run a Windows Server container with:
|
||||
PS C:\> docker run -it microsoft/windowsservercore powershell
|
||||
|
||||
Share images, automate workflows, and more with a free Docker ID:
|
||||
https://cloud.docker.com/
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ To generate this message, Docker took the following steps:
|
|||
4. The Docker daemon streamed that output to the Docker client, which sent it
|
||||
to your terminal.
|
||||
|
||||
To try something more ambitious, you can run a Nano Server container with:
|
||||
$ docker run -it microsoft/nanoserver powershell
|
||||
To try something more ambitious, you can run a Windows Server container with:
|
||||
PS C:\> docker run -it microsoft/windowsservercore powershell
|
||||
|
||||
Share images, automate workflows, and more with a free Docker ID:
|
||||
https://cloud.docker.com/
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ To generate this message, Docker took the following steps:
|
|||
4. The Docker daemon streamed that output to the Docker client, which sent it
|
||||
to your terminal.
|
||||
|
||||
To try something more ambitious, you can run a Nano Server container with:
|
||||
$ docker run -it microsoft/nanoserver powershell
|
||||
To try something more ambitious, you can run a Windows Server container with:
|
||||
PS C:\> docker run -it microsoft/windowsservercore powershell
|
||||
|
||||
Share images, automate workflows, and more with a free Docker ID:
|
||||
https://cloud.docker.com/
|
||||
|
|
|
|||
Loading…
Reference in New Issue