These options and tools are part of the images but do not work, or work only in some images. The rest of the documentation leaves them out. Each entry says what happens, which images are affected and what to do instead. Where a GitHub issue already exists, it is linked.
- Effect: Any value other than
rootmakes the container exit with code 2 right after the start: supervisord switches to that user and then cannot create its control socket/.supervisor.sock(Cannot open an HTTP server: … EACCES). - Images: all images except
toolbox. - Instead: Leave it unset. PHP-FPM runs its workers as
applicationanyway.
- Effect: The CI no longer builds these tags, but they are still on Docker Hub. An image used without a tag, for example
image: webdevops/php-nginx, is thelatestimage from April 2020 and gets no updates. Thealpinetags are from April 2020 as well, those of the development images from April 2019. - Images:
php,php-dev,php-nginx,php-nginx-dev,php-apache,php-apache-dev. - Instead: Always use a version tag such as
8.5or8.5-alpine.
- Effect: Fails with
E: Unable to locate package software-properties-common: the command installssoftware-properties-commonfirst, which Debian 13 no longer has. - Images:
php-*with the Debian tag8.6. - Instead: Write the repository to a file in
/etc/apt/sources.list.d/, for exampleRUN echo "deb http://deb.debian.org/debian trixie-backports main" > /etc/apt/sources.list.d/backports.list.
- Effect: With
COMPOSER_VERSION=1, every Composer run prints deprecation notices. From PHP 8.5 on, Composer 1 also cannot download packages: commands such ascomposer requirestop withUncaught TypeError: stream_context_create(): Argument #1 ($options) must be an array with valid callbacks as values. - Images:
php-*with PHP 8.4 (deprecation notices), 8.5 and 8.6 (no downloads). - Instead: Use Composer 2, the default.
XDEBUG_REMOTE_*,XDEBUG_IDE_KEY,XDEBUG_MAX_NESTING_LEVELandXDEBUG_PROFILER_*are ignored; they belong to Xdebug 2. Set the Xdebug 3 directive withphp.xdebug.<key>instead, for examplephp.xdebug.max_nesting_level: "500"orphp.xdebug.idekey: PHPSTORM. The variables listed under Development images still work.- Tags that are no longer built stay on Docker Hub without updates: PHP 5.6 to 8.1 and all operating system tags such as
debian-9orubuntu-18.04. Forlatestandalpine, see above. - The images
webdevops/nginxandwebdevops/apacheand thealpinetags ofwebdevops/bootstrap,webdevops/baseandwebdevops/base-appare no longer built. Their last images, on Alpine 3.24, stay on Docker Hub without updates, and so do the older tags ofnginxandapache, among themlatest(Ubuntu 18.04 from April 2020). For replacements, see Replacing discontinued images. - The images
webdevops/bootstrap,webdevops/baseandwebdevops/base-appare no longer built at all, nor iswebdevops/dockerfile-build-env. Their last images, on Ubuntu 22.04 (tagsubuntu-22.04andlatest), stay on Docker Hub without updates. Build onwebdevops/phpinstead, or copy the helper scripts fromwebdevops/toolboxinto an official image, see Replacing discontinued images. - The images
webdevops/storage,webdevops/vsftpandwebdevops/sshare no longer built. Their last images stay on Docker Hub without updates (sshsince December 2022). For replacements, see Replacing discontinued images. - The Ansible provisioning is removed:
docker-provision,docker-ansible-install,/opt/docker/bin/provisionand theprovision.role*commands of/opt/docker/bin/control.sh. They needed Python 2 and Ansible packages that no longer exist and did not work in any image./opt/docker/provision/onbuild.dis removed too; scripts in it were never run. Use shell scripts inbootstrap.dorbuild.d, see Scripts at image build.