Open zubi-venturenox opened 1 week ago
Bitnami containers are designed to operate as non-root by default. Consequently, any files or directories used by the application should be owned by the root group, as the random user (1001 by default) is a member of this root group. To ensure proper permissions, you'll need to adjust the ownership of your local directory accordingly.
For more comprehensive information about non-root containers and their significance for security, you can explore the following resources:
These references provide valuable insights into the best practices and considerations when working with non-root containers in Bitnami applications.
Name and Version
bitnami/clickhouse:24.10.1
What architecture are you using?
amd64
What steps will reproduce the bug?
Unable to mount the
CLICKHOUSE_DATA_DIR
orCLICKHOUSE_VOLUME_DIR
directory as volumes in the docker-compose file. Compose I am using:What is the expected behavior?
Volume should be mounted and data should persist
What do you see instead?
When building the image docker shows these logs and exits. Gives
Permission denied ["/var/lib/clickhouse/preprocessed_configs"]
Complete logs attached