【问题标题】:Ontotext GraphDB on Docker - how to work with file on host file system instead of inside the containerOntotext GraphDB on Docker - 如何使用主机文件系统上的文件而不是容器内的文件
【发布时间】:2021-01-31 15:46:09
【问题描述】:

我在 Windows Home 的 Docker 容器中运行了 Ontotext GraphDb。我想在我的主机文件系统 (Windows) 中创建存储库、生成日志和任何其他操作文件,以便我可以从 Docker 容器外部访问和使用它们。 我怎样才能做到这一点?

【问题讨论】:

    标签: docker filesystems host graphdb


    【解决方案1】:

    您需要在启动时公开 docker 端口 - docker run -p 7200:7200.... 然后你应该可以在你的 windows 机器上连接到 http://localhost:7200 了。

    【讨论】:

      猜你喜欢
      • 2021-04-04
      • 2020-03-12
      • 1970-01-01
      • 2021-11-03
      • 2015-04-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-14
      相关资源
      最近更新 更多