cx tunnel: add option to open a ssh tunnel into an existing container
In many stacks, I use dockerized databases such as Redis, Solr or even Postgresql.
With "cx run -s mystack --container web-123 -I 'bash'" the cx toolchain allows me to directly get a bash in an already running container, e.g. to perform checks or development changes.
It would be much more convenient however, if I had the possibility to open as ssh tunnel into these containers so I can access their (mapped) port locally and use all the great database tools out there. :) Just like with "cx tunnel".
3
votes
Niklas Bichinger
shared this idea