summaryrefslogtreecommitdiffstats
path: root/Services/mariadb/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'Services/mariadb/README.md')
-rw-r--r--Services/mariadb/README.md14
1 files changed, 12 insertions, 2 deletions
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