Closed KevinBriand closed 4 years ago
Have you deleted docker-compose.override.yml
(that contains vanilla Drupal) as instructed in the documentation?
Yes I did. All the files I have are listed by the ll
command at the top of the issue.
it could be that you have old bind mounts left, you can try pruning all of your containers with volumes (docker system prune --volumes
) and starting again
It did not change anything. I also tried to uninstall and reinstall Docker for windows and uncheck/re-check the local drives in file sharing settings, it's still not working.
oh, so it's docker for windows, docker info output says nothing about windows, in this case, maybe the problem is in ./:/var/www/html
, maybe docker for windows doesn't understand ./
I use Docker for windows, with a WSL. I run docker commands in this WSL by exposing docker daemon. I tried running the docker-compose command from my cmd instead of my WSL bash, and it works! I finally have my files and my Drupal working. I still don't know why my WSL is unable to mount the files though. But as it has nothing to do with docker4drupal, I'm closing this issue.
Codebase Mounted codebase
Describe your issue I installed Drupal using drupal-projet, then cloned docker4drupal. Changed the docker-compose.yml file, mainly to use apache instead of nginx. At this point my folder looks like this:
All containers are running, but the mounted volumes are missing in PHP and apache containers. And therefore I get a '404 Not Found'.
I should have all my Drupal files shared but it is empty. I have no idea what I did wrong.
Output of
docker info
Contents of your
docker-compose.yml
Contents of your
.env
Logs output
docker-compose logs