What does it mean to fork from another image?


What does it mean to fork from another image?

Last updated November 28th, 2016

Forking from another image allows you to extend the functionality of a pre-made image to better suit your application's needs.

This is useful when you need to add an extra PHP module, binary application or custom configuration.

For example, adding an extra PHP module consists of adding the following line to your Dockerfile

RUN pecl install <module name>

For more information about the Dockerfile, please read the Dockerfile documentation.

Can we improve this article? Suggest an improvement to this article.

Suggest an Improvement

Thank you for helping us to improve this Knowledge Base article. Please type your suggestions below:

Still need help? Get in touch with us.

If you aren't able to find the help you need then please send us a question and we can help you further.