summaryrefslogtreecommitdiffstats
path: root/README.md
blob: efb2d3a115590d38ae4d540a14dd13921dbc6abc (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# STARTX docker-images repository

Docker container images all based on red hat like distributions. Actually you can find fedora and centos.

## Running container from docker registry images

### Operating Systems
| OS      | Command |
|---------|-----|
| Fedora Core | `docker run -it --name="fedora" startx/fedora bash` | 
| CentOS | `docker run -it --name="centos" startx/centos bash` |

### Services
| Services      | Command |
|---------|-----|
| **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
| Applications      | Command |
|---------|-----|
| **PhpMyAdmin** | `docker run -d -p 80:80 --name="pma" startx/app-pma` | 
| **RockMongo** | `docker run -d -p 80:80 --name="rockmongo" startx/app-rockmongo` | 

## Flavors (tags) for Red Hat like container's

This repository offer various flavour of Red Hat like distribution. Tag `:latest` is actually pointing to fedora core 20

### Operating Systems
| OS      | Docker Hub repository | Flavour 1 | Flavour 2 | Flavour 3 |
|---------|-----------------------|---------|-------|-------|
| Fedora Core | `startx/fedora` | `:latest` | `:20` | `:21` | 
| CentOS | `startx/centos` | `:6` | `:7` |  |

### Services
| Service | Docker Hub repository | latest | Fedora | Fedora | CentOS | CentOS |
|---------|-----------------------|---------|-------|-------|----------|----------|
| Apache | `startx/sv-apache` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |
| MariaDB | `startx/sv-mariadb` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |
| Memcache | `startx/sv-memcache` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |
| MongoDB | `startx/sv-mongo` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |
| nodejs | `startx/sv-nodejs` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |
| ooconv | `startx/sv-ooconv` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |
| php | `startx/sv-php` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |
| postgreSQL | `startx/sv-postgres` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |
| SSH | `startx/sv-ssh` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |

### Applications
| Service | Docker Hub repository | latest | Fedora | Fedora | CentOS | CentOS |
|---------|-----------------------|---------|-------|-------|----------|----------|
| PhpMyAdmin | `startx/sv-pma` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |
| RockMongo | `startx/sv-rockmongo` | `:latest` | `:fc20` | `:fc21` | `:centos6` | `:centos7` |


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