【问题标题】:Intersystems IRIS Data Platform cant change default passwordIntersystems IRIS 数据平台无法更改默认密码
【发布时间】:2020-10-20 15:43:25
【问题描述】:

我目前正在测试 InterSystems IRIS 数据平台的 docker 容器。我想用这一行更改默认密码(来自dockerhub指令:https://hub.docker.com/_/intersystems-iris-data-platform/plans/222f869e-567c-4928-b572-eb6a29706fbd?tab=instructions):

 docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 --volume /home/user1/:/durable store/intersystems/iris-community:2020.2.0.204.0 --password-file /durable/password/password.txt 

我的密码路径是:C:\Users\user1\Desktop\Test\DockerProjekt\warenverwaltung\container\IRISDataPlatform\password\password.txt

它说我必须使用绝对路径,但我对绝对路径到底是什么不太满意。我试过了:

docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 --volume /container/IRISDataPlatform/password/:/durable 92ecaf86671c --password-file /durable/password.txt 

但在 Docker Desktop 中,我看到容器因错误而退出:

[INFO] 更改 InterSystems IRIS 密码...

[错误] 20200630-10:05:56:906696500 错误:密码文件 '/durable/password.txt' 未找到

[错误] 命令“changePassword.sh /durable/password.txt”退出 状态 256

[致命] 更改 InterSystems IRIS 密码时出错

信息:我通过 Dockerfile 创建了一个镜像,所以 92ecaf 是我的镜像 ID。它与 store/intersystems/iris-community:2020.2.0.204.0 完全相同。图像是在目录中构建的: "C:\Users\user1\Desktop\Test\DockerProjekt\warenverwaltung"

【问题讨论】:

    标签: docker intersystems intersystems-iris


    【解决方案1】:

    在 Windows 上使用 Docker,相当棘手。首先,我可以看到,您在本地 Windows 机器上使用了错误的路径,Linux 方式而不是 Windows 方式。 您可能会找到更多信息,如何在 Windows in this article 上进行配置。如果您有更多问题,最好在那里问,因为有更多的人可以帮助您。

    【讨论】:

      猜你喜欢
      • 2017-11-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-23
      • 1970-01-01
      • 1970-01-01
      • 2021-02-18
      相关资源
      最近更新 更多