summaryrefslogtreecommitdiffstats
path: root/Services/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'Services/mysql')
-rw-r--r--Services/mysql/README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/Services/mysql/README.md b/Services/mysql/README.md
index 5d31ed3..8e15a2e 100644
--- a/Services/mysql/README.md
+++ b/Services/mysql/README.md
@@ -2,8 +2,12 @@ STARTX docker-images - Mysql
============================
**Description**
-Based on the docker default mysql Dockerfile
+Based on the docker [default mysql](https://registry.hub.docker.com/_/mysql/) Dockerfile
**Usage**
- docker run --name="test-mysql" -d startx/sv-mysql
+ docker run -d -p 3306:3306 startx/sv-mysql
+ docker run -d -p 3306:3306 --name="test-mysql" -e MYSQL_ROOT_PASSWORD=mysecretpassword startx/sv-mysql
+
+ docker run -d --name="test-mysql" startx/sv-mysql // linked to another container
+ docker run -d --name="test-www" --link test-mysql:mysql startx/sv-php