에러 :
C:\Users\dev>docker-machine.exe create --driver hyperv default2
Running pre-create checks...
Error with pre-create check: "Hyper-V PowerShell Module is not available"
해결방법 :
1) cmd 창을 관리자 권한으로 실행
2) https://docs.microsoft.com/ko-kr/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v
들어가서 PowerShell 관리자 권한으로 실행후
a)
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
b)
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
2-1) 다시 cmd창을 관리자 권한 실행후 docker 생성 :
C:\Windows\system32>docker-machine.exe create --driver hyperv default
Running pre-create checks...
Creating machine...
(default) Copying C:\Users\dev\.docker\machine\cache\boot2docker.iso to C:\Users\dev\.docker\machine\machines\default\bo
ot2docker.iso...
(default) Creating SSH key...
(default) Creating VM...
(default) Using switch "DockerNAT"
(default) Creating VHD
(default) Starting VM...
(default) Waiting for host to start...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine.exe env default
'OS > Docker' 카테고리의 다른 글
윈도우 도커 설치(Windows Docker install) (0) | 2020.01.12 |
---|---|
도커(Docker) 설치 (0) | 2019.04.20 |
Docker 설치시 네트워크 에러, 이중 가상화, Version 에러 (0) | 2019.03.23 |