From e8cdc7c55ab3609b10880edfbe23982f0d659363 Mon Sep 17 00:00:00 2001 From: startxfr Date: Fri, 21 Nov 2014 15:04:00 +0100 Subject: ajout de centos --- OS/Centos/Dockerfile | 7 +++++++ OS/Centos/README.md | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 OS/Centos/Dockerfile create mode 100644 OS/Centos/README.md (limited to 'OS') diff --git a/OS/Centos/Dockerfile b/OS/Centos/Dockerfile new file mode 100644 index 0000000..70b83d9 --- /dev/null +++ b/OS/Centos/Dockerfile @@ -0,0 +1,7 @@ +FROM centos:latest +MAINTAINER Christophe LARUE + +# Install minimal packages +RUN yum -y install deltarpm pwgen tar \ + && yum -y update \ + && yum clean all diff --git a/OS/Centos/README.md b/OS/Centos/README.md new file mode 100644 index 0000000..02646e9 --- /dev/null +++ b/OS/Centos/README.md @@ -0,0 +1,36 @@ +# STARTX OS docker-images : Fedora +Fedora image builded with minimal and updated binaries + +## Running from docker registry + + docker run -it --name="fedora" startx/fedora + +## Build and run from local Dockerfile +### Building docker image +Copy sources in your docker host + + mkdir startx-docker-images; + cd startx-docker-images; + git clone https://github.com/startxfr/docker-images.git . + +Build the container + + docker build -t fedora OS/Fedora/ + +### Running local image + + docker run -it --name="fedora" fedora bash + +## Accessing server + + # Start interactive shell + docker run -it startx/fedora bash + # Start as a daemon + docker run -d startx/fedora bash + docker exec -it fedora /bin/bash + +## Related Resources +* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/fedora) +* [Github STARTX profile](https://github.com/startxfr/docker-images) +* [Docker registry for this container](https://registry.hub.docker.com/u/startx/fedora/) +* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/) \ No newline at end of file -- cgit v1.2.1