I am on OS X using the Virtualbox docker driver. Using the official WordPress image, I configure the volume from my local machine to display in the container
/Users/gezimhome/projects/zr/src /var/www/html/wp-content/plugins/zr
When I update the files on the host, they appear in the container, but the changes do not appear on the website until a few minutes later. I suspect this could be Apache caching, as I don't have plugins for WordPress caching.
Update . I have not tried other file types. PHP files are not updated when the site loads in the browser (or even when using curl ).
Update 2 . Here is the file . htaccess . Here is the docker docker information
source share