在Centos7 离线部署V3.5.0版本 失败。kafuka和mysql无法启动。
使用默认的配置,kafuka,mysql都没有使用外部配置。
Container mysql Error
Container kafka Error
看容器日志
kafuka的
===> Setting default values of environment variables if not already set.
===> Configuring …
Running in KRaft mode…
/opt/kafka/config/ file not writable
mysql的
ls: cannot access ‘/docker-entrypoint-initdb.d/’: Operation not permitted
2024-12-25 10:09:16+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.38-1.el9 started.
2024-12-25 10:09:17+08:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-12-25 10:09:17+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.38-1.el9 started.
请问怎么解决