From cfd0715d0543a3554b8a94b079d35b2022b2fe4c Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 5 Dec 2015 02:06:41 +0100 Subject: improving general README.md --- OS/Dockerfile | 4 +++- OS/README.md | 16 ++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) (limited to 'OS') diff --git a/OS/Dockerfile b/OS/Dockerfile index dba7035..769a43e 100644 --- a/OS/Dockerfile +++ b/OS/Dockerfile @@ -8,6 +8,8 @@ RUN dnf -y install deltarpm pwgen tar python-dnf-plugins-extras-migrate && \ dnf -y install psmisc procps coreutils findutils wget logrotate zip && \ dnf clean all COPY *.sh /bin/ -RUN chmod 775 /bin/sx-lib.sh /bin/run.sh +RUN chmod 775 /bin/sx-lib.sh /bin/run.sh && \ + mkdir /data && \ + mkdir /data/logs CMD ["/bin/run.sh"] diff --git a/OS/README.md b/OS/README.md index 82b96c6..268285a 100644 --- a/OS/README.md +++ b/OS/README.md @@ -1,15 +1,15 @@ -# Fedora OS container's +# Docker OS Images : FEDORA -Simple and extralight (110Mo) container used for all startx based services and application published in [Dockerhub registry](https://github.com/startxfr/docker-images). +Simple and lightweight (110Mo) container used for all startx based services and applications published in [Dockerhub registry](https://github.com/startxfr/docker-images). This container contain updated core OS rpm (kernel, libs,...) as well as usefull tools like pwgen, tar, zip, psmisc, procps, coreutils, findutils, wget | [![Build Status](https://travis-ci.org/startxfr/docker-images.svg)](https://travis-ci.org/startxfr/docker-images) | [Dockerhub Registry](https://hub.docker.com/r/startx/fedora) | [Sources](https://github.com/startxfr/docker-images/OS/) | [STARTX Profile](https://github.com/startxfr) | @@ -22,7 +22,7 @@ This container contain updated core OS rpm (kernel, libs,...) as well as usefull * `:23` : Fedora core 23 * `:22` : Fedora core 22 * `:21` : Fedora core 21 -* `:21` : Fedora core 21 +* `:20` : Fedora core 20 ## Running from dockerhub registry @@ -30,7 +30,7 @@ This container contain updated core OS rpm (kernel, libs,...) as well as usefull * with `docker-compose` you can create a docker-compose.yml file with the following content ``` fedora: - image: startx/fedora + image: startx/fedora:latest container_name: "os-fedora" environment: CONTAINER_TYPE: "os" @@ -51,9 +51,9 @@ CMD ["/bin/run.sh"] | Variable | Type | Mandatory | Description | |---------------------------|----------|-----------|--------------------------------------------------------------------------| +| CONTAINER_INSTANCE | `string` | `yes` | Container name. Should be uning to get fine grained log and application reporting | CONTAINER_TYPE | `string` | `no` | Container family (os, service, application. could be enhanced | CONTAINER_SERVICE | `string` | `no` | Define the type of service or application provided -| CONTAINER_INSTANCE | `string` | `yes` | Container name. Should be uning to get fine grained log and application reporting | HOSTNAME | `auto` | `auto` | Container unique id automatically assigned by docker daemon at startup -- cgit v1.2.1