diff options
author | startxfr <clarue@startx.fr> | 2014-12-08 23:49:15 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2014-12-08 23:49:15 +0100 |
commit | 76fbe43a8e1cb13cfe4a24bb78ac510a13c85651 (patch) | |
tree | 14c8aac5aa405791025ae12ae9553ebe299bef8e /Services/ooconv | |
parent | ef2c1df934ee7720fd1ccacae042f3deb3b7628d (diff) | |
download | phpmyadmin-76fbe43a8e1cb13cfe4a24bb78ac510a13c85651.tar.gz phpmyadmin-76fbe43a8e1cb13cfe4a24bb78ac510a13c85651.tar.bz2 phpmyadmin-76fbe43a8e1cb13cfe4a24bb78ac510a13c85651.tar.xz phpmyadmin-76fbe43a8e1cb13cfe4a24bb78ac510a13c85651.zip |
adding example for using volumes
Diffstat (limited to 'Services/ooconv')
-rw-r--r-- | Services/ooconv/README.md | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Services/ooconv/README.md b/Services/ooconv/README.md index 4f98429..34a232a 100644 --- a/Services/ooconv/README.md +++ b/Services/ooconv/README.md @@ -1,3 +1,47 @@ +# STARTX Services docker-images : NodeJS Server +This container run ooconv on 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 ============================= |