blob: ebd62ee5696d9d3133442693599be6adb90ecaa0 (
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
|
# STARTX Services docker-images : NodeJS Server
Container running ooconv daemon under a fedora server
## Running from docker registry
docker run -d -p 2002:2002 --name="ooconv" startx/sv-ooconv
# when used with a volume container (run data container, then run service)
docker run -d -v /tmp/ootmp --name ooconv-data startx/sv-ooconv echo "Data container for ooconv"
docker run -d -p 2002:2002 --volumes-from ooconv-data --name="ooconv" startx/sv-ooconv
when linked to another container
docker run -d --name="ooconv" startx/sv-ooconv
docker run -d -p 80:80 --name="php" --link ooconv:ooconv startx/sv-php
## Build and run from local Dockerfile
### Building docker image
Copy sources in your docker host
mkdir startx-docker-images;
cd startx-docker-images;
git clone https://github.com/startxfr/docker-images.git .
Build the container
docker build -t sv-ooconv Services/ooconv/
### Running local image
docker run -d -p 2002:2002 --name="ooconv" sv-ooconv
## Accessing server
access to the running webserver
firefox http://localhost:2002
access to the container itself
docker exec -it ooconv /bin/bash
## Related Resources
* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/ooconv)
* [Github STARTX profile](https://github.com/startxfr/docker-images)
* [Docker registry for this container](https://registry.hub.docker.com/u/startx/sv-ooconv/)
* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/)
STARTX docker-images - OOConv
=============================
**Description**
Based on the docker default centos Dockerfile
**Usage**
docker run --name="test-ooconv" startx/sv-ooconv unoconv
docker run -d -p 2002:2002 --name="test-ooconv" startx/sv-ooconv
**Converting documents**
// Start the server
unoconv --listener --server 1.2.3.4 --port 2002
// Use the client to connect to the convertion server
unoconv --server 1.2.3.4 --port 2002
|