JFrog artifactory + xray docker compose 安装失败

问题描述

我正在尝试使用 docker compose 文件安装 JFrog。我按照下面链接中提到的步骤

https://jfrog.com/xray/install/

当我运行配置脚本时,Postgresql 容器不断重启,安装失败并显示以下消息

./config.sh 


Beginning JFrog Platform Trial Pro X setup


Validating System requirements

[WARN] Running with 2 cpu Cores. Recommended value: 3 Cores

Installation Directory found in .env. Skipping prompt

Creating third party directories (if necessary)
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]

Attempting to seed Postgresql. This may take some time.
Error response from daemon: Container 9924cc25d606159c131c4091d2676cdb6920f5ca2151155bb0cbe5aac6c9b28b is restarting,wait until the container is running

Docker 登录容器:

docker logs 9924cc25d606159c131c4091d2676cdb6920f5ca2151155bb0cbe5aac6c9b28b
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted
chmod: /var/lib/postgresql/data: Operation not permitted

知道如何解决这个问题吗?

解决方法

此问题已修复,将很快发布。请期待 7.15 中的这一点,我会在实际发布后确认。

2021 年 2 月 9 日:我们创建了一个补丁 7.12.8,其中修复了这个问题。希望您能确认并使用。谢谢。