Docker GD Library

Add “GD Library with JPG support” extension on Docker
http://code.visitanyplace.com/add-gd-library-with-jpg-support-extension-on-docker/

Troubles with Docker + PHP7 + GD resulting in “Call to undefined function imagecreatefromjpeg()”:
https://stackoverflow.com/questions/47292221/troubles-with-docker-php7-gd-resulting-in-call-to-undefined-function-imagec

Under docker error Call to undefined function Intervention\Image\Gd\imagecreatefromjpeg:
https://laracasts.com/discuss/channels/general-discussion/under-docker-error-call-to-undefined-function-interventionimagegdimagecreatefromjpeg

refresh container with new extension (In dockerfile)

docker-compose up -d –build

–build Build images before starting containers.
-d, –detach Detached mode: Run containers in the background,
print new container names.

https://docs.docker.com/compose/reference/up/

Blogbook : PHP | Javascript | Laravel | VueJs | Python | TensorFlow