Optimizing & hardening  a container is a 3-step process, which can be automated in your CI/CD pipeline:

  1. Instrument and scan the container. RapidFort calls this step Stubbing. The instrumented container is referred to as the Stub throughout this guide
  2. Identify software components only necessary for your containerized application to function. RapidFort calls this step Profiling.
  3. Remove the unused components from your container. The result is an uninstrumented, optimized, and hardened container. RapidFort calls this step Hardening