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?
Asked
Active
Viewed 3,552 times
0

Rohanil
- 175
- 2
- 9
2 Answers
1
I found a way to do this by doing ssh to host and run command over ssh from container.

Rohanil
- 175
- 2
- 9
0
What resources from the host does this command need to run? Sort that out, then mount those resources into the container.

EEAA
- 109,363
- 18
- 175
- 245
-
I can ssh to host and run command over ssh. – Rohanil Feb 16 '17 at 09:10