-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Description:
I created a symbolic link for my Magento module under src/app/code
, but it is not being recognized within the Docker environment. The module does not appear in Magento, and running bin/magento setup:upgrade
does not detect it.
Steps to Reproduce:
- Inside
src/app/code
, create a symbolic link to the module:ln -s /path/to/my/module src/app/code/Vendor/Module
- Start the Docker environment:
bin/start
- Run
bin/magento setup:upgrade
inside the container.
Expected Behavior:
The module should be detected and applied in the Magento instance.
Actual Behavior:
The module is not recognized, and Magento does not detect the symbolic link.
Environment Details:
- Host OS: macOS 15.3.1
- Docker version: 4.38.0
Additional Notes:
- Running
ls -l src/app/code/Vendor
on the host shows the symbolic link correctly. - Inside the container, the symlink appears as a regular file instead of pointing to the actual module.
- Possible issue with Docker volume mounts not preserving symbolic links?
Is there a recommended way to work with symbolic links inside this Docker setup? Any guidance would be appreciated!