diff options
Diffstat (limited to 'OS')
-rw-r--r-- | OS/Centos/README.md | 18 | ||||
-rwxr-xr-x | OS/dockerhub_run.sh | 3 | ||||
-rwxr-xr-x | OS/local_build.sh | 3 | ||||
-rwxr-xr-x | OS/local_run.sh | 3 |
4 files changed, 18 insertions, 9 deletions
diff --git a/OS/Centos/README.md b/OS/Centos/README.md index 02646e9..7145ef0 100644 --- a/OS/Centos/README.md +++ b/OS/Centos/README.md @@ -3,7 +3,7 @@ Fedora image builded with minimal and updated binaries ## Running from docker registry - docker run -it --name="fedora" startx/fedora + docker run -it --name="centos" startx/centos ## Build and run from local Dockerfile ### Building docker image @@ -15,22 +15,22 @@ Copy sources in your docker host Build the container - docker build -t fedora OS/Fedora/ + docker build -t centos OS/Centos/ ### Running local image - docker run -it --name="fedora" fedora bash + docker run -it --name="centos" centos bash ## Accessing server # Start interactive shell - docker run -it startx/fedora bash + docker run -it startx/centos bash # Start as a daemon - docker run -d startx/fedora bash - docker exec -it fedora /bin/bash + docker run -d startx/centos bash + docker exec -it centos /bin/bash ## Related Resources -* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/fedora) +* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/centos) * [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 +* [Docker registry for this container](https://registry.hub.docker.com/u/startx/centos/) +* [Docker registry for Centos](https://registry.hub.docker.com/u/centos/)
\ No newline at end of file diff --git a/OS/dockerhub_run.sh b/OS/dockerhub_run.sh new file mode 100755 index 0000000..2209c2f --- /dev/null +++ b/OS/dockerhub_run.sh @@ -0,0 +1,3 @@ +#!/bin/bash +docker run -d --name="fedora" startx/fedora /bin/bash +docker run -d --name="centos" startx/centos /bin/bash
\ No newline at end of file diff --git a/OS/local_build.sh b/OS/local_build.sh new file mode 100755 index 0000000..9491a4d --- /dev/null +++ b/OS/local_build.sh @@ -0,0 +1,3 @@ +#!/bin/bash +docker build -t fedora OS/Fedora/ +docker build -t centos OS/Centos/
\ No newline at end of file diff --git a/OS/local_run.sh b/OS/local_run.sh new file mode 100755 index 0000000..4d3e435 --- /dev/null +++ b/OS/local_run.sh @@ -0,0 +1,3 @@ +#!/bin/bash +docker run -d --name="lbfedora" fedora /bin/bash +docker run -d --name="lbcentos" centos /bin/bash
\ No newline at end of file |