docker4drupal icon indicating copy to clipboard operation
docker4drupal copied to clipboard

How to ssh to sites running in parallel?

Open Vacilando opened this issue 6 years ago • 3 comments

It's possible to connect to a site via ssh (see #38).

It's also possible to run multiple sites at the same time, see https://docker4drupal.readthedocs.io/en/latest/multiple-projects/

Please provide information about how to connect to each of the sites that run in parallel via ssh.

Vacilando avatar Aug 24 '17 15:08 Vacilando

You go to each projects directory where docker-compose.yml is located and ssh from there? I mean, thats one of the ways.

irmantasp avatar Nov 29 '17 22:11 irmantasp

@Vacilando what's in your docker-compose.yaml?

pprishchepa avatar Nov 30 '17 10:11 pprishchepa

Just try docker-compose run --rm php '/bin/bash'

iVegas avatar Mar 22 '18 07:03 iVegas