summaryrefslogtreecommitdiffstats
path: root/Applications/phpmyadmin/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/phpmyadmin/README.md')
-rw-r--r--Applications/phpmyadmin/README.md25
1 files changed, 12 insertions, 13 deletions
diff --git a/Applications/phpmyadmin/README.md b/Applications/phpmyadmin/README.md
index 59eb6bd..e954532 100644
--- a/Applications/phpmyadmin/README.md
+++ b/Applications/phpmyadmin/README.md
@@ -1,32 +1,31 @@
-# STARTX Application docker-images : PhpMyAdmin
+# STARTX Application docker-images : PHPMyAdmin
+This container run phpMyAdmin on PHP server running under a fedora server.
## Running from docker registry
+ # docker run -it --name="pma" startx/app-pma
- # docker run -d -p 8080:80 --name="test-pma" -e VIRTUAL_HOST=pma.project.startx.fr startx/app-phpmyadmin
-
-## Running from local Dockerfile
-
+## Build and run from local Dockerfile
### Building docker image
Copy the sources to your docker host
- # mkdir startx-docker-images;
- # git clone https://github.com/startxfr/docker-images.git startx-docker-images/
- # cd startx-docker-images/Applications/phpmyadmin/
+ mkdir startx-docker-images;
+ cd startx-docker-images;
+ git clone https://github.com/startxfr/docker-images.git .
and build the container
- # docker build --rm -t <username>/pma .
+ docker build -t startx/app-pma Applications/phpmyadmin/
### Running local image
- # docker run -d -p 8080:80 --name="test-pma" -e VIRTUAL_HOST=pma.project.startx.fr <username>/pma
+ # docker run -d -p 80:80 --name="pma" startx/app-pma
## Accessing server
- # firefox http://localhost:8080
+ # firefox http://localhost/pma
## Related Resources
-
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Applications/phpmyadmin)
* [Github STARTX profile](https://github.com/startxfr/docker-images)
-* [Docker registry for this container](https://registry.hub.docker.com/u/startx/app-phpmyadmin/) \ No newline at end of file
+* [Docker registry for this container](https://registry.hub.docker.com/u/startx/app-phpmyadmin/)
+* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/) \ No newline at end of file