Download and install all the latest windows update in to your PC:
Install docker and run container host machine and container on process sharaing:
In powershell Command:
---------------------
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -verbose
get-service *docker*
Restart-Computer -Force
docker version
docker run microsoft/dotnet:nanoserver
docker run mcr.microsoft.com/windows/servercore:1607
docker ps
docker ps -a
docker ps -a --no-trunc
docker run -it microsoft/dotnet:nanoserver
dotnet
exit
docker run -it microsoft/dotnet:nanoserver dotnet
docker run -it microsoft/dotnet:nanoserver dotnet --version
docker run -it microsoft/dotnet:nanoserver dotnet
docker run -it microsoft/dotnet:nanoserver powershell
get-process
exit
docker run -it microsoft/dotnet:nanoserver powershell
ls
exit
ls C:\
ipconfig
ls hkcu:\
get-psdrive
get-localuser
get-localuser | select name, sid
Open another cmd:--------- (Container machine)
ipconfig
ls env:\
cls
ls hkcu:\
get-psdrive
ls hklm:\
get-localuser
get-localuser | select name, sid
Install docker and run container host machine and container on process sharaing:
In powershell Command:
---------------------
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -verbose
get-service *docker*
Restart-Computer -Force
docker version
docker run microsoft/dotnet:nanoserver
docker run mcr.microsoft.com/windows/servercore:1607
docker ps
docker ps -a
docker ps -a --no-trunc
docker run -it microsoft/dotnet:nanoserver
dotnet
exit
docker run -it microsoft/dotnet:nanoserver dotnet
docker run -it microsoft/dotnet:nanoserver dotnet --version
docker run -it microsoft/dotnet:nanoserver dotnet
docker run -it microsoft/dotnet:nanoserver powershell
get-process
exit
docker run -it microsoft/dotnet:nanoserver powershell
ls
exit
ls C:\
ipconfig
ls hkcu:\
get-psdrive
get-localuser
get-localuser | select name, sid
Open another cmd:--------- (Container machine)
ipconfig
ls env:\
cls
ls hkcu:\
get-psdrive
ls hklm:\
get-localuser
get-localuser | select name, sid
Comments
Post a Comment