From 9aab3ea2f9423ab63b86fe45499030bc04462300 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sat, 6 Jul 2019 19:39:46 +0530 Subject: [PATCH] updated to sameersbn/mysql:5.7.26-0 image --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1dd3841a..d1d64119 100644 --- a/README.md +++ b/README.md @@ -332,7 +332,7 @@ Assuming that your mysql data is available at `/srv/docker/gitlab/mysql` ```bash docker run --name gitlab-mysql -d \ --volume /srv/docker/gitlab/mysql:/var/lib/mysql \ - sameersbn/mysql:5.7.22-1 + sameersbn/mysql:5.7.26-0 ``` This will start a mysql container with your existing mysql data. Now login to the mysql container and create a user for the existing `gitlabhq_production` database. @@ -377,7 +377,7 @@ To illustrate linking with a mysql container, we will use the [sameersbn/mysql]( First, lets pull the mysql image from the docker index. ```bash -docker pull sameersbn/mysql:5.7.22-1 +docker pull sameersbn/mysql:5.7.26-0 ``` For data persistence lets create a store for the mysql and start the container. @@ -396,7 +396,7 @@ docker run --name gitlab-mysql -d \ --env 'DB_NAME=gitlabhq_production' \ --env 'DB_USER=gitlab' --env 'DB_PASS=password' \ --volume /srv/docker/gitlab/mysql:/var/lib/mysql \ - sameersbn/mysql:5.7.22-1 + sameersbn/mysql:5.7.26-0 ``` The above command will create a database named `gitlabhq_production` and also create a user named `gitlab` with the password `password` with full/remote access to the `gitlabhq_production` database.