AlexxIT / SSHCommand

Run any SSH command on remote server from Home Assistant service call
https://github.com/AlexxIT/Blog
MIT License
89 stars 7 forks source link

Unable to run docker compose commands #24

Closed RobertWittmann closed 5 months ago

RobertWittmann commented 5 months ago

I'm able to connect to the host machine through ssh, and other commands work (tried creating and deleting folders, cause I'm not sure how to check any potential output like 'ls'), but when trying to run docker compose commands - like starting/stopping other services, nothing happens. Probably my understanding of the docker structure and commands that's faulty, but hope I can still find answers here.

AlexxIT commented 5 months ago

Maybe your user not allowed to do this.

There is another component that can return result https://github.com/AlexxIT/PythonScriptsPro