From 8159a2ffceb46ff7fa56c347ed7b190e7f049884 Mon Sep 17 00:00:00 2001 From: a-Sansara Date: Thu, 28 Jul 2016 17:43:35 +0200 Subject: [PATCH 1/5] Update README.md --- pluie/alpine/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pluie/alpine/README.md b/pluie/alpine/README.md index bc0908f..712732e 100644 --- a/pluie/alpine/README.md +++ b/pluie/alpine/README.md @@ -10,18 +10,18 @@ Base image : [gliderlabs/alpine:3.2] (https://registry.hub.docker.com/u/gliderla This project come with a structure to facilitate further images (like pluie/alpine-apache & pluie/alpine-mysql) -## Docker image size +## Image Size - very small image < 10 MB -## Docker image usage +## Dmage Usage ``` $ docker run --name alpine pluie/alpine ``` -## Docker image structure +## Image Structure ``` project/ From 3e731a526a0d22f953ce93256281d3b69b829e7e Mon Sep 17 00:00:00 2001 From: a-Sansara Date: Thu, 28 Jul 2016 17:44:44 +0200 Subject: [PATCH 2/5] Update README.md --- pluie/alpine-apache/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pluie/alpine-apache/README.md b/pluie/alpine-apache/README.md index bcd65c0..60c43bc 100644 --- a/pluie/alpine-apache/README.md +++ b/pluie/alpine-apache/README.md @@ -1,6 +1,6 @@ # pluie/alpine-apache -This Image extend pluie/alpine with apache2 2.4.16 +extend pluie/alpine with apache 2.4.16 - error log are attached to stdout - no need port redirection @@ -8,12 +8,12 @@ This Image extend pluie/alpine with apache2 2.4.16 - you can still use ever your local http & sql server while your container(s) are running -## Docker image size +## Image Size - image ~ 37 MB -## Docker image volumes +## Image Volumes __/app__ directory is a docker volume bind to your app project (silex/symfony etc) @@ -33,7 +33,7 @@ by default it use the apache rewrite module to redirect all uri to the unique en ``` -## Docker image usage +## Image Usage chdir to your project directory ``` From 81eb79aec5d8ae00fae54a583c1399d2151be5da Mon Sep 17 00:00:00 2001 From: a-Sansara Date: Thu, 28 Jul 2016 17:46:03 +0200 Subject: [PATCH 3/5] Update README.md --- pluie/alpine-mysql/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pluie/alpine-mysql/README.md b/pluie/alpine-mysql/README.md index 5f06544..1c6140b 100644 --- a/pluie/alpine-mysql/README.md +++ b/pluie/alpine-mysql/README.md @@ -1,18 +1,18 @@ # pluie/alpine-mysql -This Image extend pluie/alpine with mysql (mariadb) 5.5.47 +Extend pluie/alpine with mysql (mariadb) 5.5.47 -## Docker image size +## Image Size - image ~ 160 MB -## Docker image volumes +## Image Volumes __/var/lib/mysql__ : mysql database directory __/dump__ : directory to store various mysql scripts -## Docker ENV variables +## ENV variables __MYSQL_DATABASE__ : create specified database at startup __MYSQL_USER__ : create specified user at startup (and grant all rights to __MYSQL_DATABASE__) @@ -20,13 +20,13 @@ __MYSQL_PASSWORD__ __MYSQL_ROOT_PASSWORD__ : don't really need it. a random root password is generated if none -## Docker image usage +## Image Usage ``` $ docker run --name mysql -p 3306 -v /home/docker/db/mysql:/var/lib/mysql -v /home/docker/db/dump:/dump -e MYSQL_DATABASE=mybase -e MYSQL_USER=dev -e MYSQL_PASSWORD=mysql -it pluie/alpine-mysqldocker ``` -### root usage +### Root Usage a root user is created at startup (if database directory is empty) root login is permit only on localhost @@ -45,7 +45,7 @@ $ mysql -uroot mybase < /dump/mydump.sql etc. -### user usage +### User usage locally (on host) you can run (with appropriate user : pass) : ``` @@ -56,7 +56,7 @@ or if you want use the mysql client of the container : docker exec -it mysql "mysql -h ipmysqlcontainer -udev -pmysql" ``` -## Link container +## Link Container to link this container to another, use the default docker behavior : ``` From 98d2add99607b6c4fe12f40d0601fb9767bb3735 Mon Sep 17 00:00:00 2001 From: a-Sansara Date: Thu, 28 Jul 2016 17:47:04 +0200 Subject: [PATCH 4/5] Update README.md --- pluie/alpine/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pluie/alpine/README.md b/pluie/alpine/README.md index 712732e..fc22596 100644 --- a/pluie/alpine/README.md +++ b/pluie/alpine/README.md @@ -15,7 +15,7 @@ This project come with a structure to facilitate further images (like pluie/alpi - very small image < 10 MB -## Dmage Usage +## Image Usage ``` $ docker run --name alpine pluie/alpine From 92addde80a395b00532fb42929699579e0bccfa4 Mon Sep 17 00:00:00 2001 From: a-Sansara Date: Thu, 28 Jul 2016 17:47:35 +0200 Subject: [PATCH 5/5] Update README.md --- pluie/alpine-apache/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pluie/alpine-apache/README.md b/pluie/alpine-apache/README.md index 60c43bc..44a892f 100644 --- a/pluie/alpine-apache/README.md +++ b/pluie/alpine-apache/README.md @@ -1,6 +1,6 @@ # pluie/alpine-apache -extend pluie/alpine with apache 2.4.16 +Extend pluie/alpine with apache 2.4.16 - error log are attached to stdout - no need port redirection