我正在尝试使用 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
知道如何解决这个问题吗?