gpt4 book ai didi

docker - Fossology Docker镜像无法启动

转载 作者:行者123 更新时间:2023-12-02 19:38:44 31 4
gpt4 key购买 nike

有人让docker fossology镜像启动吗?想通了,我想问一下,然后再尝试“修复”最新的补丁并将其提交给植物学。

发现问题

最新
sudo docker run -p 8081:8081 fossology/fossologychmod: changing permissions of '/var/run/postgresql': Operation not permittedpsql: FATAL: password authentication failed for user "fossy"
FATAL: password authentication failed for user "fossy"

3.1.0rc1
sudo docker run -p 8081:8081 fossology/fossologypsql: FATAL: password authentication failed for user "fossy"
FATAL: password authentication failed for user "fossy"

最佳答案

以root用户身份启动似乎可以解决您的问题

docker run -u root -p 8081:8081 fossology/fossology

但是启动启动调度程序时出现错误(地址已使用),并且以用户postgres身份连接到数据库。

通过提供环境。关于db的变量,它给出相同的错误。如果您以
docker run -u root -e FOSSOLOGY_DB_PASSWORD=fossy -e FOSSOLOGY_DB_NAME=fossology -e FOSSOLOGY_DB_USER=fossy -p 8081:8081 fossology/fossology web

http://localhost:8081的连接给出消息

Could not connect to FOSSology database.



很抱歉,我无能为力了。

关于docker - Fossology Docker镜像无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41290303/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com