Hi Priya,

Do you run all scripts in only one docker container or multiple? How do you
use it? I think these scripts should run in separate containers.

There is not a single command to run multiprocess-zk-example. Maybe you can
run manifoldcf in a single process example. I recommend to use mysql or
postgresql instead of start-database[.sh|.bat]  if you want to use on
production environment.

Your container restart problem is related that your scripts in the
container is terminated. If the script is terminated, the docker container
is stopped and it can start again. Please check your Dockerfile, docker run
command and the runnable script in the container.

You should give more details about that your scripts and Dockerfile for
more comments.

Kind Regards,
Cihad Guzel

Priya Arora <[email protected]>, 1 Eki 2019 Sal, 15:10 tarihinde şunu
yazdı:

> Hi All,
>
> I am trying to run multi-process zookeeper process inside a docker
> container.
> Do we need to follow all steps to run multi process:-
>
>    1.  *runzookeeper[.sh|.bat]* script)
>    2.  *setglobalproperties[.sh|.bat]*)
>    3. *start-database[.sh|.bat]*)
>    4.  *initialize[.sh|.bat]*)
>    5.  *start-agents[.sh|.bat]*, and optionally *start-agents-2[.sh|.bat]*)
>    6. *start-webapps[.sh|.bat]*)
>
> Is there any single command to run multi process ,as inside dockerfile we
> can configure one command to start up.
> I have tried the approach to create a single sh/jar file that is calling
> all the required(mentioned above) sh files. but its getting the conatiner
> in restart mode.(every 1,2 minutes)
> Has any body tried the approach to configure multi process environment
> inside docker container.
>
> Also i manually followed the path and started runzookeeper.sh file inside
> docker container but its not progressing after:-
> main] INFO org.apache.zookeeper.server.NIOServerCnxnFactory - binding to
> port 0.0.0.0/0.0.0.0:8349
>
> Can anybody suggest on how to proceed.
>
> Thanks and regards
> Priya
>

Reply via email to