phpMyAdmin is a tool written in PHP, intended to handle the administration of MySQL over the Web.
2.8K
Created for easy set up PhpMyAdmin container works with another database (MySQL) container.
Example:
docker run --name db -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag
docker run --name phpmyadmin --link db:db -p 9999:80 mejt/phpmyadmin
Type URL localhost:9999 in your browser and log in as ROOT credentials from your DB container.
Example with docker-compose:
phpmyadmin:
image: mejt/phpmyadmin
links:
- db
ports:
- "9999:80"
db:
image: mysql:5.7
environment:
MYSQL_USER: user
MYSQL_PASSWORD: pass
MYSQL_DATABASE: db_name
MYSQL_ROOT_PASSWORD: root
Run command docker-compose up in your console and result should be similar as above.
Content type
Image
Digest
Size
216.7 MB
Last updated
over 10 years ago
docker pull mejt/phpmyadmin