PHP Get docker image for php


Example

In order to deploy the application on docker, first we need to get the image from registry.

docker pull php

This will get you the latest version of image from official php repository. Generally speaking, PHP is usually used to deploy web-applications so we need an http server to go with the image. php:7.0-apache image comes pre-installed with apache to make deployment hastle free.