Docker Community Forums

Share and learn in the Docker community.

Two apps in a single container

(Ankitabarbi) #1

I created a container having two apps using supervisor and wen I am running the container both the apps are running but is it possible to run any one process at a time and can we control the processes from out of the container .

(Sven Dowideit) #2

yes, you can probably have a dummy ENTRYPOINT that keeps the container running, and then use docker exec to externally trigger the apps.

(Ankitabarbi) #3

can u plz be little more precise.I am new to docker and does not have much idea of it.

(Ankitabarbi) #4

Its done. I can call each application individually using supervisorctl.