OpenVoiceOS / ovos-docker

Open Voice OS container images and docker-compose.yml files for x86_64 and aarch64 CPU architectures.
https://openvoiceos.github.io/ovos-docker/
Apache License 2.0
41 stars 13 forks source link

How to restart services in containers? #57

Closed mikejgray closed 2 months ago

mikejgray commented 3 months ago

I'm not sure if my installation is broken from having a previous installation of OVOS on my dev laptop, but I'm not seeing a clear way to restart a service when using the containers setup. docker compose usually requires a compose file available, and if I kill a container via docker kill it doesn't come back up unless I re-run the installer.

Hoping there's a doc page I've missed or just a broken setup I can adjust. :)

mikejgray commented 3 months ago

docker restart does the trick of course, is that the intended method?

goldyfruit commented 3 months ago

The only way to restart a process in a container is to restart the container itself as there is no systemd within the container.

goldyfruit commented 2 months ago

Feel free to re-open.