Open Disherence opened 2 years ago
Using phpmyadmin:fpm, if I mount /var/www/html to the host, then /var/www/html in the container is empty. I use podman to create containers. This is my run command.
$ podman run --rm -it phpmyadmin:fpm bash root@0d67304618ee:/var/www/html# ls ChangeLog composer.json doc js package.json show_config_errors.php themes vendor LICENSE composer.lock favicon.ico libraries print.css sql tmp yarn.lock README config.sample.inc.php index.php locale robots.txt templates url.php
If not mounted, these files will be generated.
$ podman run -v /home/yuxianglin/phpmyadmin_v/html:/var/www/html --rm -it phpmyadmin:fpm bash root@5c738d50d393:/var/www/html# ls -al total 0 drwxr-xr-x. 2 root root 6 May 11 01:31 . drwxr-xr-x. 1 root root 18 Apr 20 15:54 ..
But if I mount /var/www/html to this machine, the phpmyadmin file will not be generated.
This is the log of phpmyadmin.
[11-May-2022 01:37:11] NOTICE: fpm is running, pid 1 [11-May-2022 01:37:11] NOTICE: ready to handle connections
Related to #395 This was caused by #285
Using phpmyadmin:fpm, if I mount /var/www/html to the host, then /var/www/html in the container is empty. I use podman to create containers. This is my run command.
If not mounted, these files will be generated.
But if I mount /var/www/html to this machine, the phpmyadmin file will not be generated.
This is the log of phpmyadmin.