wp-cli / handbook

📖 Complete documentation for WP-CLI
https://make.wordpress.org/cli/handbook/
MIT License
188 stars 328 forks source link

How to connect with remote docker container #391

Closed renzit closed 2 years ago

renzit commented 2 years ago

HI,

I need support regarding wp ssh connections.

Is it possible to connect with a remote docker container? how would you make it?

I had an ec2 instance user@192.168. there I have a runing container with wordpress.

I need to run some operations with wp-cli, I wonder if that would be possible with the --ssh flag?

danielbachhuber commented 2 years ago

Closing in favor of https://github.com/wp-cli/wp-cli/discussions/5674