This is a question more out of curiosity rather than actual use.
I know how to restart a docker container from within another docker container so my best guess is that I need to mount something like systemctl into the container executing the command, I was not able to find anything useful when researching this topic.
Is there a way to achieve this?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…