Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

E: Package 'mysql-client' has no installation candidate in php-fpm image build using docker compose

php:7.3-fpm now use Debian 10 (Buster) as its base image and Buster ships with MariaDB, so just replace mysql-client with mariadb-client should fix it.


If you still want to use the mysql client, it's called default-mysql-client now.


php:7.2-apache triggers the error as well, but I resolve it using php:7.2.18-apache