Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0 in /srv/www/vhosts/www.ralfminuslang.de/wp-includes/load.php on line 46
Docker under Windows: Mounts must not have trailing slash / – ralf-lang.de

Technical insights and software architecture

Deep dives into PHP development, Horde Framework evolution and practical software engineering. Focused on real-world solutions for complex technical challenges. “Always close to the source”.

Core Topics

PHP, Horde Framework, authentication systems, composer workflows and modern development practices.

Long-form Analysis

Comprehensive technical articles exploring architectural decisions, migration strategies and lessons learned from real projects.

Code & Community

Open source contributions, framework development and sharing knowledge with the PHP developer community.

Docker under Windows: Mounts must not have trailing slash /

If you use a recent Docker Desktop under Windows 10, the maintaina/deployments horde setup would not run but give you this error:

Error response from daemon: path /home/lang/deployments/groupware-mail/original_config/apps is mounted on / but it is not a shared mount.

This patch would fix the issue:

     volumes:
-      - ./original_config/apps/:/srv/original_config/apps/
+      - ./original_config/apps/:/srv/original_config/apps
       ## Uncomment these two to provide your own letsencrypt certs and vhosts file

Will be submitted shortly. The trailing slash makes the difference. I’m not sure I like this. Please report if anything breaks running on Linux.