From 33c861af09aa7a8758716b16c12b7085c2c6283a Mon Sep 17 00:00:00 2001 From: startxfr Date: Fri, 5 Dec 2014 19:19:40 +0100 Subject: fin des modifications sur le template mariadb --- Services/mariadb/README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Services/mariadb/README.md') diff --git a/Services/mariadb/README.md b/Services/mariadb/README.md index 0d4dad8..db7e14e 100644 --- a/Services/mariadb/README.md +++ b/Services/mariadb/README.md @@ -19,6 +19,8 @@ Copy sources in your docker host cd startx-docker-images; git clone https://github.com/startxfr/docker-images.git . +Change configuration and personalize your base image. See sx/mariadb_run.sh to perform some usefull task against the database, especially importing sql script, adding users and changing passwords. See also example.sql for injecting sql content when creating container. + Build the container docker build -t sv-mariadb Services/mariadb/ @@ -28,16 +30,24 @@ Build the container docker run -d -p 3306:3306 --name="mariadb" sv-mariadb ## Accessing server +get connection information's, use docker logs to see result and connection details + + docker logs mariadb + access to the running database mysql -h localhost -p 3306 access to the container itself - docker exec -it mariadb bash + docker exec -it mariadb /bin/bash ## 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 +* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/) +* [Fedora-files mariadb container](https://github.com/fedora-cloud/Fedora-Dockerfiles/tree/master/mariadb) +* [Tutum mariadb container](https://registry.hub.docker.com/u/tutum/mariadb/) +* [Tutum mariadb github](https://github.com/tutumcloud/tutum-docker-mariadb) +* [Dylan Lindgren mariadb container](https://registry.hub.docker.com/u/dylanlindgren/docker-mariadb/) \ No newline at end of file -- cgit v1.2.3