我目前正在测试InterSystems IRIS数据平台的码头容器。我想用这一行更改默认密码(来自dockerhub指令:/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 但在Desktop中,我看到容器退出时出现了错误:
信息更改InterSystems IRIS密码..。 错误20200630-10:05:56:906696500错误:未找到密码文件‘/耐久/密码. not’ 状态256退出的错误命令"changePassword.sh /耐久/password.txt“ 更改InterSystems IRIS密码时发生致命错误
信息:我通过Dockerfile创建了一个映像,所以92ecaf是我的图像ID。映像构建在目录:"C:\Users\user1\Desktop\Test\DockerProjekt\warenverwaltung“中。
发布于 2020-06-30 11:41:54
在Windows上使用Docker相当棘手。首先,我可以看到,您在本地Windows机器上使用了错误的路径,Linux-way而不是Windows-way。您可能会发现一些更多的信息,如何在windows 在本文中上配置它。如果你有更多的问题,最好在那里问,因为有更多的人可以帮助你。
https://stackoverflow.com/questions/62655725
复制相似问题