I have pacemaker cluster of hosts. And I have docker containers on each host. I want to run crm_mon -Af1 command from container for underneath host. Basically, I want to get output of this command in docker container when I run that command in container. Is it possible? If yes, how?

2 Answers 2


I found a way to do this by doing ssh to host and run command over ssh from container.


What resources from the host does this command need to run? Sort that out, then mount those resources into the container.

  • I can ssh to host and run command over ssh.
    – Rohanil
    Feb 16, 2017 at 9:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.