If you’re familiar with the process for creating a simple website using PHP, then adding Docker to the mix should be relatively easy. The great thing about using Docker is that you have better portability over your code….
Source: https://www.shiphp.com/blog/2017/php-web-app-in-docker