Skip to main content

Alfresco Blog

Best Practices with Alfresco & Docker

Date: August 10, 2018
Category:Power of the Platform

At the beginning of the year, we conducted some research around containerization in terms of customer and partner adoption. We saw that most of our larger customers and partners already adopted or were close to adopting Docker, and Kubernetes was already on the radar.  Still eager to learn more about the broader adoption landscape, we sent out a survey. The results made us realize that containerized deployments provide the most value for the majority of our users.

Several months later, with the release of Alfresco Content Services 6.0, which focuses on a new containerized deployment option with Docker and Kubernetes, we thought to give more context on Docker best practices.  Last month’s Tech Talk Live, hosted by Sergiu Vidrascu and Sujay Pillai (Docker Captain), focused on just that, as they spent a little over an hour discussing Docker best practices, and how those align (or don’t align) with Alfresco’s deployment instructions. This discussion was the first of a future series on this topic, and we’d like to share some of the topline findings with you here:

Tips for containerized deployment with Docker:

  1. Package a Single Application per Container

    Sujay and Sergiu discuss the good and the not so good practices, and talk about what’s available (present and future) in Alfresco containerization.
  2. Handle PID1, Single Handling and Zombie Process

    In this general tip, Sujay and Sergiu discuss the implication of a stopping signal to process and the risk of creating “zombie processes.”
  3. Optimize for the Docker Build Cache

    Sujay provides an example of the possible impacts of caching on Docker containers.
  4. Remove Unnecessary Tools

    “Keep it simple” is always good advice and is discussed and illustrated in this segment with helpful hints.
  5. Build the Smallest Image Possible

    Sergiu discusses this tip to see how it’s managed on Alfresco images and how things will change and improve in the near future.
  6. Properly Tag Your Images

    A discussion on how this works on Alfresco containers
  7. Carefully Consider when to Use a Public Image

    Sujay shares hints and precautions about using public images. You may be interested to see how this can be applied to Alfresco.

We hope you check out the full Tech Talk Live episode here, and see how to best set up your deployment with Docker. You’ll also learn our reasoning behind any tips we may not completely comply with. The slides are also available here.

With the launch of Alfresco Content Services 6.0 and the new containerized deployment option with Docker and Kubernetes, we decided to send out a second survey focusing on your current adoption of these technologies and future directions. Please take 3 minutes to complete this survey.



Your thoughts and suggestions for a future webinar topic are encouraged and we welcome you to comment here with your suggestions or to talk to us on the Alfresco Community.  


Share this page on Twitter Share this page on Facebook Share this page on LinkIn Share this page on Email