docker - 以前安装了 boot2docker 的机器上的 Docker for mac 抱怨 TLS 配置
问题描述
我重新使用了一台较旧的 macbook。当 Mac 的本机 docker 尚不存在时,它以前安装了 boot2docker。这可能是我问题的根本原因。
我已经为 mac 安装了新的 docker,但是当我运行 docker-compose 时出现以下错误:
docker.errors.TLSParameterError: Path to a certificate and key files must be provided through the client_config param. TLS configurations should map the Docker CLI client configurations. See https://docs.docker.com/engine/articles/https/ for API details.
我不想安装带有虚拟框或任何东西的 docker 机器。我只想像一个新的 docker 一样在本地运行它来安装 mac。到目前为止,我发现的所有解决方案都要求我使用 docker-machine。
解决方案
推荐阅读
- postgresql - PostgreSQL citext 索引与较低的表达式索引性能
- python - 权限错误:[WinError 32]
- java - 使用类 EmbeddedChannel 测试编解码器:调用 writeOutbound() 方法然后调用 readOutbound()
- html - 联系表格 7 - 改变风格
- angular - 如何在角度 7 中发送带有逗号“,”参数的 URL
- angularjs - AngularJS - 在控制器中动态更改输入占位符
- c# - 任何选项都包含 nuget 包到公共类库和其他项目会自动解决它[VS 2017]?
- java - Sonarqube:“仅有条件地调用方法”无法找出原因
- sparql - 在 SPARQL 中过滤投影表达式
- odata - 将 DateTimeOffset 插入子窗体