Update Windows with a PowerShell prompt and windowsservercore

This commit is contained in:
Tianon Gravi 2017-09-13 11:26:14 -07:00
parent e26832af4f
commit b63893caa6
4 changed files with 11 additions and 7 deletions

View File

@ -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

View File

@ -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/

View File

@ -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/

View File

@ -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/