From 910a26141f16336c96e304ebe850a4e5a0f97f95 Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 09:34:55 +0100 Subject: modif des readme de chaque container pour etre plus expressif --- Services/nodejs/README.md | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'Services/nodejs') diff --git a/Services/nodejs/README.md b/Services/nodejs/README.md index f0b0326..d9ce4e5 100644 --- a/Services/nodejs/README.md +++ b/Services/nodejs/README.md @@ -1,34 +1,32 @@ -# STARTX Services docker-images : Apache-PHP +# STARTX Services docker-images : NodeJS Server +This container run nodejs 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 8000:8000 --name="nodejs" startx/sv-nodejs +## 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 /www . + docker build -t sv-nodejs Services/nodejs/ ### Running local image - # docker run -d -p 8080:80 --name="test-www" -e VIRTUAL_HOST=www.project.startx.fr /www + # docker run -d -p 8000:8000 --name="nodejs" sv-nodejs ## Accessing server - # firefox http://localhost:8080 + # firefox http://localhost:8000 ## 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/nodejs) * [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-nodejs/) +* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/) \ No newline at end of file -- cgit v1.2.3