From 4b80c8f2b91a82c22aba33296939da91ead8fcda Mon Sep 17 00:00:00 2001 From: hparekh Date: Tue, 15 Dec 2015 12:56:49 +0900 Subject: [PATCH] Documentation for Mistral and Docker. Purpose of this document is to explain how to create docker image locally and how to use it. TODO: Update information for pre-built mistral docker image. Change-Id: I4e7c2e31d716fb4144484a469e30610a5cdd6f9b Partially-implements: blueprint mistral-docker-image --- doc/source/guides/installation_guide.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/source/guides/installation_guide.rst b/doc/source/guides/installation_guide.rst index add0061d..04e04d06 100644 --- a/doc/source/guides/installation_guide.rst +++ b/doc/source/guides/installation_guide.rst @@ -114,6 +114,20 @@ To run more than one server (API, Engine, or Task Executor) on the same process, The --server command line option can be a comma delimited list. The valid options are "all" (by default if not specified) or any combination of "api", "engine", and "executor". It's important to note that the "fake" transport for the rpc_backend defined in the config file should only be used if "all" the Mistral servers are launched on the same process. Otherwise, messages do not get delivered if the Mistral servers are launched on different processes because the "fake" transport is using an in process queue. +Mistral And Docker +------------------ +Please first refer `installation steps for docker `_. +To build the image from the mistral source, change directory to the root directory of the Mistral git repository and run:: + + docker build -t . + +The Mistral Docker image is configured to store the database in the user's home directory. For persistence of these data, you may want to keep this directory outside of the container. This may be done by the following steps:: + + sudo mkdir '' + docker run -it -v '':/home/mistral + +More about docker: https://www.docker.com/ + Mistral Client Installation ---------------------------