S
S
Seryoga2021-12-26 23:22:09
Synology
Seryoga, 2021-12-26 23:22:09

How do I automatically start services inside a container in Synology Docker?

There is a Synology that runs Docker. For example, an Ubuntu image in which I installed certain software, such as NodeRED, and another. When you start a container, only the operating system starts, and nothing else. How to autostart other services?
I clarify, we are talking about the docker in Synology. There are a lot of common cases, everything is chewed up there. But this is not the general case. There is no way to launch with additional commands and parameters, there is only a button in the web face "Start container" and "Stop container".
Can this be somehow implemented by tweaking something inside the container, in the Ubuntu system? Or without parameters when starting the container, this can not be done?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Drno, 2021-12-27
@Drno

The container launches just the same service ... And not the OS ...
Is it exactly the docker there?)

S
Seryoga, 2021-12-27
@sirocco

I have now installed portainer. Can through it it is possible to make autostart of service in the container?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question