Hosting multiple java apps on an Ubuntu server

March 31, 2017 1.6k views
Docker Java Ubuntu 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?

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?

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!