Skip to content

creative-area/docker-phpmyadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhpMyAdmin with Docker

Provide a PhpMyAdmin container

Usage

Links allow Docker containers to discover each other and securely transfer information about MySQL container to phpMyAdmin container.

$ docker run --name mysql -e MYSQL_ROOT_PASSWORD=my_password -d mysql
$ docker run --name phpmyadmin --link mysql:mysql -P creativearea/phpmyadmin

You can also pass MySQL server host through an environment variable:

$ docker run --name phpmyadmin -e MYSQL_SERVER_HOST=mysql -P creativearea/phpmyadmin