windows8 docker问题

来源:互联网 发布:淘宝上怎么卖电视棒 编辑:程序博客网 时间:2024/06/16 04:18

An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json: open //./pipe/docker_engine:

The system cannot find the file specified.

解决:

ocker-machine env fd



C:\Users\fd>docker-machine env --shell CMD default
Host does not exist: "default"

解决:

docker-machine create -d virtualbox fd 创建一个名为fd的docker vm


Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates
for host "192.168.99.101:2376": x509: certificate is valid for 192.168.99.100, not 192.168.99.101
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.

解决:

重新生成凭证

docker-machine regenerate-certs fd2

2 0
原创粉丝点击