You are following a tutorial from 2016. I recommend that you use a php image that contains a web server, like php:apache-buster
and read the docs of the php image, especially the section ‘Image Variants’.
Share and learn in the Docker community.
You are following a tutorial from 2016. I recommend that you use a php image that contains a web server, like php:apache-buster
and read the docs of the php image, especially the section ‘Image Variants’.