Tutorial: Customizing the Docker start-up logic

This tutorial demonstrates how to customize the Docker start-up logic for HCL Commerce V9. HCL Commerce V9 embraces the Docker technology and shift to the dockerized delivery model. Besides, you can leverage HCL Commerce Build tool to build your customization into a package, and then build your custom Docker image to include your code change before deployment.

Note: Do not copy the customization package to the dockerized application server and modify the configuration files, or to tune the application directly on the application server in a dockerized orchestration environment. Based on your business requirements, you need to prepare your own customized image on top of the default HCL Commerce Docker image before you deploy the HCL Commerce environment.

Learning objectives

After completing this tutorial, you should be familiar with the following tasks:
  • Defining customized logic in Dockerfile
  • Defining the customized logic with the extension point script
  • Defining customized logic with run engine commands and extension points

Time required

Expect this tutorial to take 60 minutes to complete. The tutorial takes longer if you explore concepts that are related to this tutorial.

Skill level

Advanced

Audience

This tutorial is intended for HCL Commerce administrators and developers who are responsible for building and deploying custom HCL Commerce Docker images.

Prerequisites