-
I have successfully built my own Adminer Docker image that adds MongoDB PHP extension to the official Adminer Docker image: » docker run --rm adminer-mongo php -m | grep mongo
mongodb I know MongoDB PHP extension is working fine because my custom image contains some other PHP code that interacts with MongoDB without problems. However, when I run a container using my customized Docker image, the login page of Adminer does not show MongoDB as an option in the I can see the official image includes the MongoDB driver » docker run --rm adminer-mongo ls -l plugins/drivers/mongo.php
-rw-rw-r-- 1 adminer adminer 12999 May 4 16:30 plugins/drivers/mongo.php If I try to enable mongo plugin using » docker run -p 8080:8080 --rm --name adminer -e 'ADMINER_PLUGINS=mongodb' adminer-mongo
Unable to find plugin file "mongodb".
» docker run -p 8080:8080 --rm --name adminer -e 'ADMINER_PLUGINS=drivers/mongodb' adminer-mongo
/usr/local/bin/entrypoint.sh: line 14: can't create plugins-enabled/001-drivers/mongodb.php: nonexistent directory Any idea of how to proceed? Before the recent plugins refactor my Adminer was working fine. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Ask for Docker support at https://github.com/timwolla/docker-adminer/. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Done TimWolla/docker-adminer#217