---
title: Ping Identity DevOps <code>pingcommon</code> Hook - <code>03-build-run-plan.sh</code>
description: "This script will building a run plan for the server as it starts up Options for the RUN_PLAN and the PD_STATE are as follows: RUN_PLAN (Initially set to UNKNOWN) START - Instructs the container to start from scratch. This is primarily because a STARTUP_COMMAND (i.e. /opt/out/instance/bin/run.sh) isn't present. RESTART - Instructs the container to restart. This is primarily because the STARTUP_COMMAND (i.e. /opt/out/instance/bin/run.sh) is present and typically signifies that the server bits have been copied and run before > NOTE: It will be common for products to override this hook to provide > RUN_PLAN directions based on product specifics."
component: devops
page_id: devops::docker-images/pingcommon/hooks/03-build-run-plan.sh
canonical_url: https://developer.pingidentity.com/devops/docker-images/pingcommon/hooks/03-build-run-plan.sh.html
section_ids:
  devops-ping-identity-devops-hook: Ping Identity DevOps pingcommon Hook - 03-build-run-plan.sh
---

# Ping Identity DevOps `pingcommon` Hook - `03-build-run-plan.sh`

## Ping Identity DevOps `pingcommon` Hook - `03-build-run-plan.sh`

This script will building a run plan for the server as it starts up Options for the RUN\_PLAN and the PD\_STATE are as follows: RUN\_PLAN (Initially set to UNKNOWN) START - Instructs the container to start from scratch. This is primarily because a STARTUP\_COMMAND (i.e. /opt/out/instance/bin/run.sh) isn't present. RESTART - Instructs the container to restart. This is primarily because the STARTUP\_COMMAND (i.e. /opt/out/instance/bin/run.sh) is present and typically signifies that the server bits have been copied and run before > NOTE: It will be common for products to override this hook to provide > RUN\_PLAN directions based on product specifics.

***

This document is auto-generated from *[pingcommon/opt/staging/hooks/03-build-run-plan.sh](https://github.com/pingidentity/pingidentity-docker-builds/blob/master/pingcommon/opt/staging/hooks/03-build-run-plan.sh)*

Copyright © 2026 Ping Identity Corporation
