Windows 10 安装 docker 使用 Docker_Compose 部署 TiDB 集群报错 集群组件 pd02: b’Drive has not been shared’
参考问题解决:https://github.com/Cyb3rWard0g/HELK/issues/79
docker部署Tidb集群官方参考链接:https://pingcap.com/docs-cn/op-guide/docker-compose/
Try the following:
docker/compose#4303
主要是因为本地windows磁盘未改在共享到Docker内部,解决方案如下:
On Command Line: "set COMPOSE_CONVERT_WINDOWS_PATHS=1";
Restart Docker for Windows;
Go to Docker for Windows settings > Shared Drives > Reset credentials > select drive > Apply;
Reopen Command Line;
Kill the Containers;
Rerun the Containers.
Also make sure the shares are configured properly:
https://blogs.msdn.microsoft.com/stevelasker/2016/06/14/configuring-docker-for-windows-volumes/
It is hard to test it in a different environment than the one recommended by the project. let me know if the things above helped. Thank you @1332530
版权声明:本文为博主原创文章,未经博主允许不得转载。
- 上一篇:TiDB 集群扩缩容
- 下一篇:mycat 分库分表启动报错解决



