diff options
| author | startxfr <clarue@startx.fr> | 2014-11-20 09:34:55 +0100 | 
|---|---|---|
| committer | startxfr <clarue@startx.fr> | 2014-11-20 09:34:55 +0100 | 
| commit | 910a26141f16336c96e304ebe850a4e5a0f97f95 (patch) | |
| tree | bc1eef413af3a0c1b7bd3eeda7ceafc8d6ed87b2 /Services/apache | |
| parent | 7f7d7e70ec819dbc4f1d88e29420e59549add0a9 (diff) | |
modif des readme de chaque container pour etre plus expressif
Diffstat (limited to 'Services/apache')
| -rw-r--r-- | Services/apache/README.md | 27 | 
1 files changed, 13 insertions, 14 deletions
diff --git a/Services/apache/README.md b/Services/apache/README.md index f0b0326..b8c3a0e 100644 --- a/Services/apache/README.md +++ b/Services/apache/README.md @@ -1,34 +1,33 @@ -# STARTX Services docker-images : Apache-PHP +# STARTX Services docker-images : PHP Webserver +This container run apache on fedora server.  ## Running from docker registry -	# docker run -d -p 8080:80 --name="test-www" -e VIRTUAL_HOST=www.project.startx.fr startx/sv-php - -## Running from local Dockerfile +	# docker run -d -p 80:80 --name="apache" startx/sv-apache +## Build and run from local Dockerfile  ### Building docker image  Copy the sources to your docker host  -	# mkdir startx-docker-images; -	# git clone https://github.com/startxfr/docker-images.git startx-docker-images/ -	# cd startx-docker-images/Services/php/ +        mkdir startx-docker-images;  +        cd startx-docker-images; +        git clone https://github.com/startxfr/docker-images.git .  and build the container -	# docker build --rm -t <username>/www . +        docker build -t sv-apache Services/apache/  ### Running local image -	# docker run -d -p 8080:80 --name="test-www" -e VIRTUAL_HOST=www.project.startx.fr <username>/www +	# docker run -d -p 80:80 --name="apache" sv-apache  ## Accessing server -	# firefox http://localhost:8080 +	# firefox http://localhost  ## Related Resources - -* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/php) +* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/apache)  * [Github STARTX profile](https://github.com/startxfr/docker-images) -* [Docker registry for this container](https://registry.hub.docker.com/u/startx/sv-php/) -* [tutum php](https://registry.hub.docker.com/u/tutum/apache-php) +* [Docker registry for this container](https://registry.hub.docker.com/u/startx/sv-apache/) +* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/)  | 
