4AllDigital / DruDockCli

Drudock CLI utility for managing docker development, staging and production environments for Drupal websites and apps.
https://www.4alldigital.io/dockerdrupal-cli
MIT License
2 stars 1 forks source link

Add SSH feature #169

Closed jnpwebdeveloper closed 6 years ago

jnpwebdeveloper commented 6 years ago

Would be nice to have each drudock service provide an SSH command so you can SSH directly onto that container. E.g.:

drudock nginx:ssh drudock redis:ssh drudock mysql:ssh

Etc. Would allow us to quickly jump onto a container without having to docker ps + docker exec -it id bash.

joemewes commented 6 years ago

I think SSH is inly really valuable on PHP container as it adds potential to intagrate with drush @alias commands.

That said , a quick way to get "into" container is useful, so I'll add a shorthand :bash command.

jnpwebdeveloper commented 6 years ago

Awesome. Yes, think PHP container would suffice. Would be a nice little addition.

joemewes commented 6 years ago

FYI - SSH command is done and will be included in next release :: https://github.com/4AllDigital/DruDockCli/commit/eaae10901f94b22f7743d38f3e8f74a1b77568c2

jnpwebdeveloper commented 6 years ago

Ah mate - you already done that. Awesome :)