# Controlling a container from another container

**URL:** <https://forums.docker.com/t/controlling-a-container-from-another-container/82687>\
**Category:** Docker Hub\
**Created:** [October 14, 2019, 9:20am UTC](https://forums.docker.com/t/controlling-a-container-from-another-container/82687 "2019-10-14T09:20:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nlazer](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@nlazer](https://forums.docker.com/u/nlazer)\
**Post date:** [October 14, 2019, 9:20am UTC](https://forums.docker.com/t/controlling-a-container-from-another-container/82687/1 "2019-10-14T09:20:35Z")

</div>

I’m very new to docker.I have a use case where i need to control a continer from another container.For example, say i have two containers containerA and containerB running, i need to restart/poweroff/poweron a containerB from containerA.Or i need to check the status of the containerB from A etc.

Is there anyway containerA can execute the above mentioned action through the host ? Can a container instruct the the host to do the above mentioned actions ? Please help me here.
