ClusterLabs / fence-agents

Fence agents
101 stars 155 forks source link

Allow connecting to Docker via UNIX socket #582

Closed marjus45 closed 1 month ago

marjus45 commented 1 month ago

Currently the only option for the fence_docker agent is to connect to Docker only via HTTP, meaning that you have to configure Docker to accept HTTP connections.

Would you be open to extend the agent to accept a UNIX socket as a command line argument, which would configure commands send via that socket?

I have been working on this and I am willing to make a PR.