Last active
November 14, 2019 18:51
-
-
Save mchubby/61b8a87c0ba3f8412241d11e0a2c6266 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> docker run -it --rm --user ContainerAdministrator --dns 9.9.9.9 mcr.microsoft.com/powershell:6.1.1-nanoserver-1809 | |
where 1809 matches host edition (otherwise get 'helpful' error: manifest unknown: manifest unknown.) | |
> docker pull mcr.microsoft.com/powershell:latest | |
may work better | |
C:\Users\Cador PS>docker pull mcr.microsoft.com/powershell:latest | |
latest: Pulling from powershell | |
7ddbc47eeb70: Pull complete | |
c1bbdc448b72: Pull complete | |
8c3b70e39044: Pull complete | |
45d437916d57: Pull complete | |
39cbf7b9915e: Pull complete | |
3e668c5f0e83: Pull complete | |
Digest: sha256:6f2c050951582ea12da7dbbeccb1fd06a623cb877448196d5d7e80b1abc25fba | |
Status: Downloaded newer image for mcr.microsoft.com/powershell:latest | |
mcr.microsoft.com/powershell:latest | |
C:\Users\Cador PS>docker run -it --rm --user ContainerAdministrator --dns 9.9.9.9 mcr.microsoft.com/powershell:latest | |
PowerShell 6.2.3 | |
Copyright (c) Microsoft Corporation. All rights reserved. | |
https://aka.ms/pscore6-docs | |
Type 'help' to get help. | |
PS /> echo $PSVersionTable | |
Name Value | |
---- ----- | |
PSVersion 6.2.3 | |
PSEdition Core | |
GitCommitId 6.2.3 | |
OS Linux 4.19.27-linuxkit #1 SMP Sun Mar 10 18:51:44 UTC 2019 | |
Platform Unix | |
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} | |
PSRemotingProtocolVersion 2.3 | |
SerializationVersion 1.1.0.1 | |
WSManStackVersion 3.0 | |
PS /> test-connection -ResolveDestination www.microsoft.com | |
Pinging e13678.dspb.akamaiedge.net [104.80.22.51] with 32 bytes of data: | |
Reply from 104.80.22.51: bytes=32 time=12ms TTL=128 | |
Reply from 104.80.22.51: bytes=32 time=11ms TTL=128 | |
Reply from 104.80.22.51: bytes=32 time=10ms TTL=128 | |
Reply from 104.80.22.51: bytes=32 time=11ms TTL=128 | |
Ping complete. | |
Source Destination Replies | |
------ ----------- ------- | |
d9a5d7311ad6 e13678.dspb.akamaiedge.net {System.Net.NetworkInformation.PingReply, System.Net.NetworkInformation.PingRe… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment