From 0512d0c6b314e1cea4cdd90e21b549914df837d5 Mon Sep 17 00:00:00 2001 From: Baotong Shi Date: Thu, 30 Aug 2018 09:46:04 +0800 Subject: [PATCH] Update run.sh when I start the phpMyAdmin Container, I got the below error phpMyAdmin - Error Failed to load phpMyAdmin configuration (./../etc/phpmyadmin/config.inc.php:3): require(): Failed opening required '/etc/phpmyadmin/config.secret.inc.php' (include_path='.:/usr/local/lib/php') I found the access right of the config.secret.inc.php is not correct, I added the below cmd in run.sh, then build the image, It can work chmod 644 /etc/phpmyadmin/* --- run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run.sh b/run.sh index c503fd70..85c716be 100755 --- a/run.sh +++ b/run.sh @@ -17,4 +17,6 @@ chown nobody:nogroup /var/run/php/ touch /var/log/php-fpm.log chown nobody:nogroup /var/log/php-fpm.log +chmod 644 /etc/phpmyadmin/* + exec "$@"