diff options
author | startxfr <clarue@startx.fr> | 2014-12-06 01:09:00 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2014-12-06 01:09:00 +0100 |
commit | 076db03abf9ac12a057b784a3e0999180ca53543 (patch) | |
tree | 86553f1f030a07290a65d1696772488079088e54 /OS | |
parent | 391988d9e6ca3dd863d55a2d84189fda6aeb990c (diff) | |
download | phpmyadmin-076db03abf9ac12a057b784a3e0999180ca53543.tar.gz phpmyadmin-076db03abf9ac12a057b784a3e0999180ca53543.tar.bz2 phpmyadmin-076db03abf9ac12a057b784a3e0999180ca53543.tar.xz phpmyadmin-076db03abf9ac12a057b784a3e0999180ca53543.zip |
adding script for automating image generation and starting container for testing and benchmarks
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 |