Sometimes (but not always) docker-compose up fails with ERROR: missing or empty Content-Length header. I can not reproduce it consistently.
~/Documents/gerrit/mediawiki/core$ sw_vers ProductName: macOS ProductVersion: 11.1 BuildVersion: 20C69 ~/Documents/gerrit/mediawiki/core$ docker --version Docker version 20.10.0, build 7287ab3 ~/Documents/gerrit/mediawiki/core$ docker-compose --version docker-compose version 1.27.4, build 40524192 ~/Documents/gerrit/mediawiki/core$ cat .env MW_DOCKER_PORT=8080 MW_SCRIPT_PATH=/w MW_SERVER=http://localhost:8080 MEDIAWIKI_USER=Admin MEDIAWIKI_PASSWORD=dockerpass XDEBUG_CONFIG='' ~/Documents/gerrit/mediawiki/core$ docker-compose up -d Pulling mediawiki (docker-registry.wikimedia.org/dev/stretch-php72-fpm-apache2-xdebug:0.6.1-s1)... ERROR: missing or empty Content-Length header