This is example of docker-compose build to run php8.0 on Docker. It includes Apache and most needed php extentions.
Clone this repository, go to the docker folder and run
$ docker-compose upAfter that go to the localhost:8000
You can change the app folder to test out the features of php8.0