Skip to content

Commit

Permalink
Improve readme
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Dec 4, 2015
1 parent 5f08916 commit 8296362
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
@@ -1,25 +1,26 @@
# alpine linux + php + phpmyadmin
# Official phpMyAdmin Docker image

Run PHPMyAdmin with alpine + php built in web server
Run phpMyAdmin with Alpine and PHP built in web server.

[![Build Status](https://travis-ci.org/phpmyadmin/docker.svg?branch=master)](https://travis-ci.org/phpmyadmin/docker)


## Usage

First, you need to run mysql in docker, and this image need link a running mysql instance container
First you need to run MySQL or MariaDB server in Docker, and this image need
link a running mysql instance container:

```
docker run --name myadmin -d --link mysql_db_server:db -p 8080:8080 phpmyadmin/phpmyadmin
```

Then open browser, visit http://***.***.host.ip:8080

You will see the phpmyadmin login page
You will see the phpMyAdmin login page.

## Usage with arbitrary server

You can use arbitrary servers by adding ENV variable PMA_ARBITRARY=1 to the startup command:
You can use arbitrary servers by adding ENV variable PMA\_ARBITRARY=1 to the startup command:

```
docker run --name myadmin -d --link mysql_db_server:db -p 8080:8080 -e PMA_ARBITRARY=1 phpmyadmin/phpmyadmin
Expand Down

0 comments on commit 8296362

Please sign in to comment.