签到成功

知道了

CNDBA社区CNDBA社区

Win10 docker 使用 Docker_Compose 部署 TiDB 集群报错解决

2019-02-20 13:48 5433 0 原创 TiDB
作者: Marvinn

Windows 10 安装 docker 使用 Docker_Compose 部署 TiDB 集群报错 集群组件 pd02: b’Drive has not been shared’http://www.cndba.cn/Marvinn/article/3274

http://www.cndba.cn/Marvinn/article/3274

参考问题解决:https://github.com/Cyb3rWard0g/HELK/issues/79
docker部署Tidb集群官方参考链接:https://pingcap.com/docs-cn/op-guide/docker-compose/

http://www.cndba.cn/Marvinn/article/3274
http://www.cndba.cn/Marvinn/article/3274

Try the following:
docker/compose#4303

主要是因为本地windows磁盘未改在共享到Docker内部,解决方案如下:http://www.cndba.cn/Marvinn/article/3274

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/

http://www.cndba.cn/Marvinn/article/3274
http://www.cndba.cn/Marvinn/article/3274
http://www.cndba.cn/Marvinn/article/3274

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

http://www.cndba.cn/Marvinn/article/3274
http://www.cndba.cn/Marvinn/article/3274

版权声明:本文为博主原创文章,未经博主允许不得转载。

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
Marvinn

Marvinn

关注

路漫漫其修远兮、吾将上下而求索

  • 99
    原创
  • 0
    翻译
  • 2
    转载
  • 36
    评论
  • 访问:458386次
  • 积分:449
  • 等级:中级会员
  • 排名:第12名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ