I am trying to setup a development environment on my Windows 11 (Build: 22000.376) laptop. I have initialy created the environment on a Ubuntu 20.04 workstation and it worked perfeclty.
It consists of the following containers;
- nginx (nginxinc/nginx-unprivileged:1.20.1-alpine)
- php (php:8.0.9-fpm-alpine3.14)
- Percona database
- Redis cache
All the containers reside in the same ‘app-network’, the percona and redis servers have dedicated volumes. Everything works fine but the PHP container. I tried installing Sulu CMS on it through composer and was quite slow during installation. I noticed some erros during install;
Failed to extract doctrine/annotations: (1) '/usr/bin/unzip' -qq '/var/www/html/tomtest/vendor/composer/tmp-6c0172a63ff2b134ca6392ad7ff111d1' -d '/var/www/html/tomtest/vendor/composer/77e4d756' unzip: short read
However the installation went through and completed succesfully. Now when I try to access the skeleton admin dashboad it takes about 20 seconds to load the login screen. It seems as if the PHP container is not running correctly on Windows 11, Has anyone had problems with this kind of setup?