diff options
Diffstat (limited to 'Services/apache/README.md')
-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/) |