summaryrefslogtreecommitdiffstats
path: root/Services/php/README.md
blob: ede44276fa2b53413b3e43f62e28b80349c6edb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# STARTX Services docker-images : Apache-PHP

## Running from docker registry

	# docker run -d -p 8080:80 --name="test-www" startx/sv-php

## Running 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/

and build the container

	# docker build --rm -t <username>/www .

### Running local image

	# docker run -d -p 8080:80 --name="test-www" <username>/www

## Accessing server

	# firefox http://localhost:8080

## Related Resources

* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/php)
* [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)