I’ve successfully connected a server to my n8n instance which is running some docker containers I would like to check on using the docker ps command. While some basic commands like echo or hostname work, this particular one doesn’t, even though the credentials are for a user in the docker group (so no need for sudo or anything like that).
If you are running n8n in Docker, then the command you are running in Execute a command node is running inside that docker container, not on your host, where docker command is available.
Thanks for the detail, I’ll try this and report back. Also guess I need to revisit my understanding of connecting to a server via SSH from a container - wasn’t anticipating a difference between connecting from a container vs connecting via terminal or other any CLI