Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[console] error connecting docker image from outside to inside #4168

Open
novia713 opened this issue Oct 4, 2019 · 1 comment
Open

[console] error connecting docker image from outside to inside #4168

novia713 opened this issue Oct 4, 2019 · 1 comment

Comments

@novia713
Copy link
Contributor

novia713 commented Oct 4, 2019

Error connecting docker image from outside to inside

I'm trying to connect from drupalconsole launcher to Docker container (which drupalconsole is working from inside)

My alias:

dev:
  type: container
  root: /var/www/ca2m_ca2m
  extra-options: 'docker-compose exec php'

Details to include:

  • Drupal Console Launcher 1.9.3
  • drupal/console 1.9.3

How to reproduce

leandro@leandropc:~$ drupal @ca2m st
PHP Notice:  Undefined index: type in phar:///usr/local/bin/drupal/bin/drupal.php on line 68
PHP Notice:  Undefined index:  in phar:///usr/local/bin/drupal/bin/drupal.php on line 70
PHP Fatal error:  Uncaught Error: Call to a member function launch() on null in phar:///usr/local/bin/drupal/bin/drupal.php:71
Stack trace:
#0 phar:///usr/local/bin/drupal/bin/drupal(3): require()
#1 /usr/local/bin/drupal(10): require('phar:///usr/loc...')
#2 {main}
  thrown in phar:///usr/local/bin/drupal/bin/drupal.php on line 71
@meladawy
Copy link

I confirm having the same issue with Drupal 8.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants