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

--no-plugins option not working #3

Closed
subhojit777 opened this issue Jul 3, 2020 · 4 comments
Closed

--no-plugins option not working #3

subhojit777 opened this issue Jul 3, 2020 · 4 comments

Comments

@subhojit777
Copy link

Steps to replicate:

  1. Setup a Drupal 8 project using Lando 3.0.5
  2. Install db-docker as per the installation steps https://github.com/axelerant/db-docker#installation
  3. Execute lando composer db-docker --no-plugins
  4. I got error Command "db-docker" is not defined.

I am using Docker Desktop version 2.3.0.3 (45519) on Mac

@subhojit777
Copy link
Author

FYI @hussainweb

@subhojit777
Copy link
Author

Even after adding the tooling I got the error.

name: standup-bot-rest
recipe: drupal8
config:
  webroot: web
  xdebug: true
  config:
    php: .lando.php.ini
services:
  appserver:
    type: php
    build_as_root:
      - pecl install ds
      - docker-php-ext-enable ds
tooling:
  db-docker:
    service: appserver
    description: Runs composer db-docker command
    cmd: composer db-docker

@hussainweb
Copy link
Member

@subhojit777, since db-docker is a composer plugin, running it with --no-plugins would not work. As you might know --no-plugins doesn't load any plugins at all.

Another note: Since db-docker needs docker to run, it can't run inside Lando. Lando's Docker images don't have docker installed and it would fail.

hussainweb added a commit that referenced this issue Jul 3, 2020
@subhojit777
Copy link
Author

Thanks for the clarification. This can be closed in that case. Let's update the README as per #4

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