Public | Automated Build

Last pushed: 2 years ago
Short Description
PhpMyAdmin server container (no longer supported)
Full Description

Warning

Note that this image is no longer supported.

Summary

MyAdmin server image. This image have the phpMyAdmin tool for administering MySQL databases.

Build the image

To create the image, execute the following command in the docker-myadmin folder.

docker build -t cburki/myadmin .

Configure the image

The MySQL root password is required for the phpMyAdmin database and tables to be created. Use the MYSQL_PASSWORD environment variable to give the MySQL root password for setting up the image.

Run the image

When you run the image, you will bind the port 80 for accessing the web interface. You will link this container with the MySQL database server container you would like to administer.

docker run \
    --name myadmin \
    -d \
    -e MYSQL_PASSWORD=mysql_server_root_password \
    -p 8081:80 \
    --link mysql:db \
    cburki/myadmin:latest

In the --link argument, mysql is the name of the MySQL server container and db is the alias to reach the MySQL server over the network.

The database administration interface could be reached with the following URL.

http://<ip_address>:8081/phpmyadmin
Docker Pull Command
Owner
cburki
Source Repository

Comments (0)