Can I manage apps packaged as Docker containers with UBOS?
/docs/gears/faq-howto-troubleshooting/faq-apps-in-docker/
Yes! Basic approach:
-
Start a new Docker container for each AppConfiguration in which your App is used. That might be easiest with a
systemd
.service
file that starts and stops the container. Here is an example for how to do that. -
Make sure that you provision a separate port (or ports) for each instance of your Docker container, so different AppConfigurations of your App don’t get in each other’s way.
See also: Can I run UBOS in a Docker container?