diff options
author | startxfr <clarue@startx.fr> | 2014-11-20 09:34:55 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2014-11-20 09:34:55 +0100 |
commit | 910a26141f16336c96e304ebe850a4e5a0f97f95 (patch) | |
tree | bc1eef413af3a0c1b7bd3eeda7ceafc8d6ed87b2 /Services/mariadb | |
parent | 7f7d7e70ec819dbc4f1d88e29420e59549add0a9 (diff) | |
download | phpmyadmin-910a26141f16336c96e304ebe850a4e5a0f97f95.tar.gz phpmyadmin-910a26141f16336c96e304ebe850a4e5a0f97f95.tar.bz2 phpmyadmin-910a26141f16336c96e304ebe850a4e5a0f97f95.tar.xz phpmyadmin-910a26141f16336c96e304ebe850a4e5a0f97f95.zip |
modif des readme de chaque container pour etre plus expressif
Diffstat (limited to 'Services/mariadb')
-rw-r--r-- | Services/mariadb/README.md | 43 |
1 files changed, 31 insertions, 12 deletions
diff --git a/Services/mariadb/README.md b/Services/mariadb/README.md index f81f3de..12c142b 100644 --- a/Services/mariadb/README.md +++ b/Services/mariadb/README.md @@ -1,16 +1,35 @@ -docker-images MariaDB -===================== +# STARTX Services docker-images : MongoDB Server +This container run mariadb on fedora server. -**Description** -Based on the [tutum php](https://registry.hub.docker.com/u/tutum/mariadb) Dockerfile +## Running from docker registry -**Usage** - - docker run --name="test-maria" -d startx/sv-maria + # docker run -d -p 3306:3306 --name="mariadb" startx/sv-mariadb + # when linked to another container + # docker run -d --name="mariadb" startx/sv-mariadb + # docker run -d --name="php" --link mariadb:mariadb startx/sv-php - docker run --name="test-maria" -d startx/sv-maria - docker run -d -p 3306:3306 startx/sv-maria - docker run -d -p 3306:3306 --name="test-maria" startx/sv-maria +## Build and run from local Dockerfile +### Building docker image +Copy the sources to your docker host - docker run -d --name="test-maria" startx/sv-maria // linked to another container - docker run -d --name="test-www" --link test-maria:maria startx/sv-php + mkdir startx-docker-images; + cd startx-docker-images; + git clone https://github.com/startxfr/docker-images.git . + +and build the container + + docker build -t sv-mariadb Services/mariadb/ + +### Running local image + + # docker run -d -p 3306:3306 --name="mariadb" sv-mariadb + +## Accessing server + + # mysql -h localhost -p 3306 + +## Related Resources +* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/mariadb) +* [Github STARTX profile](https://github.com/startxfr/docker-images) +* [Docker registry for this container](https://registry.hub.docker.com/u/startx/sv-mariadb/) +* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/)
\ No newline at end of file |