Docker Community Forums

Share and learn in the Docker community.

Multiple java applications in one container


(Ankitabarbi) #1

I have two java applications . Can I containerize it into a single container ? I have two jar files . how can I execute both the jar files from a single container ?


(Theodoros Ntakouris) #2

In your dockerfile just run both / start an image running both


(Ankitabarbi) #3

I did it using supervisors. Now both my applications are running fine .