summaryrefslogtreecommitdiffstats
path: root/Services/mariadb/README.md
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2014-11-29 04:11:44 +0100
committerstartxfr <clarue@startx.fr>2014-11-29 04:11:44 +0100
commitde3cd0a17a285afa0dd783ec11024c992f4aa3ff (patch)
tree673c92818acfa12d02f3342b94747d8792586212 /Services/mariadb/README.md
parent6d20210fdecb7dda4181b5a743d104644d5dfbaa (diff)
downloadphpmyadmin-de3cd0a17a285afa0dd783ec11024c992f4aa3ff.tar.gz
phpmyadmin-de3cd0a17a285afa0dd783ec11024c992f4aa3ff.tar.bz2
phpmyadmin-de3cd0a17a285afa0dd783ec11024c992f4aa3ff.tar.xz
phpmyadmin-de3cd0a17a285afa0dd783ec11024c992f4aa3ff.zip
modif pour mise en place avancé de mariadb
Diffstat (limited to 'Services/mariadb/README.md')
-rw-r--r--Services/mariadb/README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/Services/mariadb/README.md b/Services/mariadb/README.md
index d9436cd..0d4dad8 100644
--- a/Services/mariadb/README.md
+++ b/Services/mariadb/README.md
@@ -4,8 +4,11 @@ This container run mariadb on fedora server.
## Running from docker registry
docker run -d -p 3306:3306 --name="mariadb" startx/sv-mariadb
- when linked to another container
- docker run -d --name="mariadb" startx/sv-mariadb
+ # when used with a volume container
+ docker run -d -v /var/lib/mysql -v /var/log/mysql --name mariadb-data startx/sv-mariadb
+ docker run -d --volumes-from mariadb-data -p 3306:3306 --name="mariadb" startx/sv-mariadb
+ # when used in a linked container
+ docker run -d -p 3306:3306 --name="mariadb" startx/sv-mariadb
docker run -d --name="php" --link mariadb:mariadb startx/sv-php
## Build and run from local Dockerfile