Mac의 저장소 드라이버를 devicemapper로 변경하려고합니다. Change docker storage driver on Mac OS X도커 저장 장치 드라이버를 Mac의 devicemapper로 변경하는 방법
의 단계를 따르고 있었지만 다음과 같은 오류가 발생했습니다. Mac 용 도커는 최신 버전입니다.
$ docker-machine create --driver virtualbox --engine-storage-driver devicemapper test2
Running pre-create checks...
Creating machine...
(test2) Copying /Users/weiwang/.docker/machine/cache/boot2docker.iso to /Users/weiwang/.docker/machine/machines/test2/boot2docker.iso...
(test2) Creating VirtualBox VM...
(test2) Creating SSH key...
(test2) Starting the VM...
(test2) Check network to re-create if needed...
(test2) Waiting for an IP...
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...
Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.105:2376": read tcp 192.168.99.1:49168->192.168.99.105:2376: read: connection reset by peer
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
감사 Menzo보다 길에 좀 더 당신을 도와, 내가 만들 수 있어요 스토리지 드라이브로 오버레이가있는 컴퓨터이지만 내 문제가 해결되지는 않습니다. 나는 컨테이너 내부에서 서비스를 실행할 필요가 있지만 그 서비스는 파일과 오버레이로 작동하지 않는다. – weiwang
@weiwang 나는이 주제에 대한 좀 더 많은 연구를했고 내 대답을 업데이트했다. devicemapper 스토리지 드라이버를 사용할 수는 있습니다. Docker는 기본 기본 OS로 Docker를 지원하지 않습니다. –
위대한! 정보 주셔서 감사합니다. – weiwang