Hosting multiple java apps on an Ubuntu server

Posted March 31, 2017 2k views
DockerJavaUbuntu 16.04


I built a bot for Telegram, and I host it here. I launch it from the “screen” command, but afterwards it doesn’t seem that I can run another bot in parallel.

I read something about Docker, but since I am new to hosting apps like this, I have no idea where to start.

So, here’s tbe question. Is it possible to host multiple java apps on a server here and how would I need to approach this?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


It is definitely possible to use screen to run multiple java (or any) programs at the same time. Are you seeing any errors while trying to start the second instance?