diff --git a/pluie/alpine-apache/README.md b/pluie/alpine-apache/README.md index bcd65c0..44a892f 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 ``` 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 : ``` diff --git a/pluie/alpine/README.md b/pluie/alpine/README.md index bc0908f..fc22596 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 +## Image Usage ``` $ docker run --name alpine pluie/alpine ``` -## Docker image structure +## Image Structure ``` project/