From 76fbe43a8e1cb13cfe4a24bb78ac510a13c85651 Mon Sep 17 00:00:00 2001 From: startxfr Date: Mon, 8 Dec 2014 23:49:15 +0100 Subject: adding example for using volumes --- Applications/phpmyadmin/README.md | 4 ++++ Applications/rockmongo/README.md | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'Applications') diff --git a/Applications/phpmyadmin/README.md b/Applications/phpmyadmin/README.md index e91d399..4d2de03 100644 --- a/Applications/phpmyadmin/README.md +++ b/Applications/phpmyadmin/README.md @@ -2,7 +2,11 @@ This container run phpMyAdmin on PHP server running under a fedora server. ## Running from docker registry + docker run -d -p 80:80 --name="pma" startx/app-pma + when linked to another container + docker run -d --name="mariadb" startx/sv-mariadb + docker run -d -p 80:80 --name="pma" --link mariadb:mariadb startx/app-pma ## Build and run from local Dockerfile ### Building docker image diff --git a/Applications/rockmongo/README.md b/Applications/rockmongo/README.md index 1a4a26d..1174467 100644 --- a/Applications/rockmongo/README.md +++ b/Applications/rockmongo/README.md @@ -2,7 +2,11 @@ This container run Rockmongo on PHP server running under a fedora server. ## Running from docker registry + docker run -d -p 80:80 --name="rockmongo" startx/app-rockmongo + when linked to another container + docker run -d --name="mongo" startx/sv-mongo + docker run -d -p 80:80 --name="rockmongo" --link mongo:mongo startx/app-rockmongo ## Build and run from local Dockerfile ### Building docker image -- cgit v1.2.3