There is a docker image available, but the setup instructions for this require the container to be ran with the “host” networking mode. The primary reason for this appears to be to allow an Avahi daemon to run in the container and be able to answer responses to mDNS requests, which requires the container to be in the same local network subnet as the device performing the lookup.
- Official Nginx alpine Docker image
- Official PHP Docker (Debian) image with
Get currenty PHP-FPM running user info:
$ docker exec php_container_name id www-data uid=33(www-data) gid=33(www-data) groups=33(www-data)
Change the owner of your existing mounted volume:
chown 33:33 -R /srv/www