Windows 2016에서 docker 설치하기


Install-Module -Name DockerMsftProvider -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
Restart-Computer -Force

<docker 사용하기>
docker version
docker pull microsoft/nanoserver
docker images
docker run -it –name nanocon1 microsoft/nanoserver powershell
hostname
ping http://www.google.com
exit
docker ps -a
docker rm $(docker ps -aq) -f
docker ps -a

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s