Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using phpmyadmin:fpm, if I mount /var/www/html to the host, then /var/www/html in the container is empty. #362

Open
Disherence opened this issue May 11, 2022 · 1 comment

Comments

@Disherence
Copy link

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
@williamdes
Copy link
Member

Related to #395
This was caused by #285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants