2021年3月22日星期一

Restart a service in a docker container

I have a docker container that runs nginx on debian. In response to some input, I need to restart the nginx service but not the whole container. Running "service nginx restart" blows the whole container away.

Is there any way to restart a service in a docker container without restarting the whole container?

https://stackoverflow.com/questions/66754008/restart-a-service-in-a-docker-container March 23, 2021 at 05:21AM

没有评论:

发表评论