Switch PHP Version
Every dockware version allows you to switch to any PHP version that is supported by Shopware 6. This is done when starting your container. You can either use a command option when using "docker run", or set the PHP version in your docker-compose.yml file.
docker run --rm -p 80:80 -e PHP_VERSION=7.2 dockware/play:latest
Watch our video about switching while using "docker run"
Watch our video about switching with your docker-compose.yml
make switch-php version=8.0
make switch-php version=7.4
The command has been designed to be as robust as possible.
This means, that nothing should break if you switch to the same PHP version, or even a version that is not supported and existing in the current image you use.