Closed justmeonthegit closed 1 year ago
If you're starting from the scratch (without db import) make sure to specify mariadb
as the host on the 4th step of Drupal installation (this area collapsed by default with localhost
as the default value). I've just repeated all the actions on macOS and the installation has completed just fine (Drupal 10.1.5, Docker 24.0.2).
created a local database on localhost
oh, I see, php in the container cannot access your host machine database, you can use something like host.docker.internal
(macOS) to access the host from within the container or just use the mariadb
from your docker-compose.yml
file. Anyway, using the host machine database is not a use case covered by docker4drupal
Codebase mounted codebase
I followed the instruction on page for a install of a plain installement of drupal. It is not working ! https://wodby.com/docs/1.0/stacks/drupal/local/
I did the following steps composer create-project drupal/recommended-project bo_drupaldefault Downloaded and extracted docker4drupal.tar.gz edited the env file (see below) removed the file docker-compose.override.yml created a local database on localhost added the db connection to the docker file run docker-compose up -d
Describe your issue A clear and concise description of your issue. I get an error:
Additional uncaught exception thrown while handling exception. Original Error: Call to a member function setFormClass() on null in system_entity_type_build() (line 1201 of /var/www/html/web/core/modules/system/system.module).
system_entity_type_build() (Line: 118) Drupal\Core\Entity\EntityTypeManager->Drupal\Core\Entity{closure}() (Line: 388)
Output of
docker info
Contents of your
docker-compose.yml
Contents of your
.env
Logs output
docker-compose logs