summaryrefslogtreecommitdiffstats
path: root/README.md
blob: 967137a3d7b8f7cffdfcdc248cce7b98dfae2aae (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
35
36
37
38
39
40
41
42
43
44
45
46
# STARTX docker-images repository
Docker container images 

## Running container from docker registry images
* Operating Systems
  * Fedora ```docker run -it --name="fedora" startx/fedora bash```
* Services
  * Apache ```docker run -d -p 80:80 --name="apache" startx/sv-apache```
  * MariaDB ```docker run -d -p 3306:3306 --name="mariadb" startx/sv-mariadb```
  * Memcache ```docker run -d -p 11211:11211 --name="memcache" startx/sv-memcache```
  * MongoDB ```docker run -d -p 27017:27017 --name="mongo" startx/sv-mongo```
  * nodejs ```docker run -d -p 8000:8000 --name="nodejs" startx/sv-nodejs```
  * ooconv ```docker run -d -p XXX:XXX --name="ooconv" startx/sv-ooconv```
  * php ```docker run -d -p 80:80 --name="php" startx/sv-php```
  * postgreSQL ```docker run -d -p 5432:5432 --name="postgres" startx/sv-postgres```
  * SSH ```docker run -d -p 22:22 --name="ssh" startx/sv-ssh```
* Applications
  * PhpMyAdmin ```docker run -d -p 80:80 --name="pma" startx/app-pma```
  * RockMongo ```docker run -d -p 80:80 --name="rockmongo" startx/app-rockmongo```

## Build and run from local Dockerfile
### Building docker image
Copy sources in your docker host / build server

	mkdir startx-docker-images; 
	cd startx-docker-images;
	git clone https://github.com/startxfr/docker-images.git .

Build the container

	docker build -t <tag_name> <path_to_Dockerfile>

### Running local image
Running an interactive image and get access to shell

	docker run -it <image_name> <cmd>

Running an image as a daemon

	docker run -d <image_name>
	docker exec -it <image_name> <cmd>

## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/)
* [Github STARTX profile](https://github.com/startxfr/docker-images)
* [Docker registry for this container](https://registry.hub.docker.com/u/startx/fedora/)