【问题标题】:error while starting Titan database using docker使用 docker 启动 Titan 数据库时出错
【发布时间】:2016-01-15 10:59:22
【问题描述】:

我想开始使用 titan 数据库,我已按照http://oren.github.io/blog/titan.html 的说明进行操作。但是当我尝试在 docker 中启动 Titan 时,它给了我以下错误:

/opt/titan-0.5.4-hadoop2/run.sh: 2: /opt/titan-0.5.4-hadoop2/run.sh:  : not found

run.sh 文件位于 C:\Users\Modeso\titan 但我找不到在 docker 中更改文件夹位置的方法。

有没有人遇到过这个问题或有解决方案?

【问题讨论】:

    标签: elasticsearch docker cassandra titan


    【解决方案1】:

    我怀疑在这种情况下,“找不到”消息可能不是因为找不到文件,而是因为文件中使用了错误的行尾。如果 shell 脚本使用 Windows 换行符,Linux 会产生奇怪的错误,比如这个。

    您是否尝试从 GitHub 存储库构建? https://github.com/apobbati/titan-rexster

    您可以通过以下方式从该存储库构建映像;

    docker build -t titan-rexter github.com/apobbati/titan-rexster
    

    然后运行它;

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-10-22
      • 1970-01-01
      相关资源
      最近更新 更多