summaryrefslogtreecommitdiffstats
path: root/OS
diff options
context:
space:
mode:
Diffstat (limited to 'OS')
-rw-r--r--OS/Centos/Dockerfile7
-rw-r--r--OS/Centos/README.md36
2 files changed, 43 insertions, 0 deletions
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 <dev@startx.fr>
+
+# 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