Pro에 Windows 10 설치

3242 단어 설치하다.Docker
Windows 10 Pro에 Docker Community Edition for Windows를 설치합니다.
Docker의 Business Edition은 Enterprise Edition이고, Community Edition은 무료 Edition인 것 같습니다.

Hyper-V 사용


먼저 Windows 10Pro의 Windows 기능 화면을 시작하여 Hyper-V를 효과적으로 만듭니다.

Docker CE 다운로드 및 설치


아래에서 Windows 버전을 다운로드하십시오.
Docker Community Edition

InstallDocker.exe를 다운로드한 경우 를 설치합니다(모두 기본값).

설치 후 확인


설치 후 Hello-world를 시도해 보세요.
로컬에 없기 때문에 설치했습니다.그리고 Hello-world를 실행합니다.
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS C:\Users\spiderx> docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
78445dd45222: Pull complete
Digest: sha256:c5515758d4c5e1e838e9cd307f6c6a0d620b5e07e6f927b07d05f6d12a1ac8d7
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 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 an Ubuntu container with:
 $
ubuntu의 bash를 시험해 보세요.
Hello-world와 마찬가지로 포장이 없어 설치되어 있습니다.
그 후 bash는 일어섰다.
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://cloud.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/engine/userguide/

PS C:\Users\spiderx> docker run -it ubuntu bash
Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
aafe6b5e13de: Pull complete
0a2b43a72660: Pull complete
18bdd1e546d2: Pull complete
8198342c3e05: Pull complete
f56970a44fd4: Pull complete
Digest: sha256:f3a61450ae43896c4332bda5e78b453f4a93179045f20c8181043b26b5e79028
Status: Downloaded newer image for ubuntu:latest
root@e2151021af68:/# ls
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
root@e2151021af68:/# pwd
/
root@e2151021af68:/# ls home
root@e2151021af68:/# ls
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
root@e2151021af68:/# pwd
/
root@e2151021af68:/# exit
exit
PS C:\Users\spiderx>
어쨌든 설치 성공!

참조 링크 등


무료 Docker for Windows로 Linux 컨테이너를 간단하게 활용

좋은 웹페이지 즐겨찾기