Building image is not something specific to
php, but in order to build the image that we described above, we can simply use
docker build -t <Image name> .
Once the image is built, you can verify the same using
Which would list out all the images installed in your system.