Open q8tywolf opened 3 years ago
Could you try to disable the WSL 2 based engine in in Docker and add the project directing under Resources -> File Sharing like shown here: https://stackoverflow.com/a/62721155 ?
I have the same issue and have disabled WSL 2 based engine + added project under resources > file sharing. It didn't help. Any other ideas?
Have you tried to ouse another shell than Powershell? Does it show a different behavior?
@szeidler I'm tried to use it with WSL and its still didn't help. For now , We cant run doker4drupal
Using Terminal app on W10 works for me, using my codebase. Works nicely!
Just came here to say this. I was having the same setformclass error while using an existing drupal site ( v9.4.9 ) After 3 days i just mounter a docker in drupal with buster then i copy the existing file ( rsync ) and THEN : DRUPAL CR ( do it before any load test site !! ) after that the site just pops well i modified my docker composer for drupal as follow to make it automatic : ` drupal: image: drupal:9.4.9-apache-buster command: sh -c "./vendor/bin/drush cr && apache2-foreground" working_dir: /var/www/html
container_name: drupal
ports:
- 80:80
depends_on:
- mysql
restart: unless-stopped
networks:
# - internal
- external
volumes:
- ./volumes/drupal-data:/var/www/html`
and for developers, i just seen that you can totally disable cache : https://www.drupal.org/node/2598914
I searched anywhere and no one was mentionning this drupal cache clean.
Now our developers are working locally Windows 10 with drupal desktop
Not a docker4drupal issue imho
regards
arcker
OS type Windows WSL 2 docker
Drupal version 9
Codebase my codebase
Describe the bug I deleted the docker-compose.override.yml to mount my own codebase, but I get the following error
Output of
docker info
Contents of your
docker-compose.yml
Contents of your
.env
Logs output
docker-compose logs