---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/servicenow-platform

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Containerized MID Server

# Containerized MID Server {#ariaid-title1}

Release version: Australia  
Updated November 13, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Containerized MID Server

Containerized MID Server leverages Docker images to enable rapid and scalable deployment of MID Servers using orchestration platforms such as OpenShift or Kubernetes.
This approach automates deployment, maintenance, and container lifecycle management, including automatic scaling and failure recovery.
Show full answer Show less  

## Key Features

* **Docker Image Usage:** Download Linux Docker recipes from the MID Server download page to build images for the current release. These recipes are signed and zipped for security and integrity.
* **Supported Environment:** AlmaLinux is supported. Recipes do not build images for prior MID Server versions. Note that Discovery of NMAP and CyberArk are not supported in containerized mode, and other applications like Orchestration and Integration Hub are not certified.
* **Configuration:** MID Server containers are configured via environment variables or secret files, with support for Docker, OpenShift, and Kubernetes secrets. The MID Server runs as a non-admin user within the container.
* **Container Identification:** Each containerized MID Server is assigned a unique container ID (UUID) to distinguish it from traditional MID Servers, which have null or empty container IDs.
* **Orphan MID Server Cleanup:** A daily scheduled job called "Purge Orphaned Containerized MID Servers" removes containerized MID Servers that have been down longer than the configurable retention period (default 30 days). Warnings are issued 7 days prior to removal.
* **Auto-Upgrade:** Auto-upgrade is similar to regular MID Servers but is recommended to be disabled (via the `mid.container.autoupgrade.enabled` parameter set to false) to avoid repeated upgrades on pod recreation. Instead, update Docker images manually and redeploy using updated YAML files.
* **Health Check:** The container includes a HEALTHCHECK that monitors heartbeat signals every 5 minutes, marking the container unhealthy after 3 consecutive 30-minute heartbeat failures. Detailed health status can be inspected through Docker commands.
* **Basic Container Operations:** You can start, stop, or restart MID Server containers using standard Docker commands, enabling straightforward container lifecycle management.
* **Deployment and Auto-Configuration:** Administrators can define all necessary MID Server settings in a MID Server Profile on the ServiceNow instance and submit deployment requests to Kubernetes clusters. This triggers automatic creation and configuration of new MID Servers, which are operational within seconds. Updates to the MID Server Profile propagate automatically to existing containerized MID Servers.

## Practical Benefits for ServiceNow Customers

This containerized deployment model allows ServiceNow customers to:

* Scale MID Server deployments rapidly and efficiently through container orchestration platforms.
* Automate deployment, configuration, and maintenance, reducing manual overhead and operational risk.
* Ensure high availability with automatic container replacement and health monitoring.
* Easily manage MID Server lifecycle with standard Docker commands and scheduled cleanup tasks.
* Maintain control over upgrades by disabling auto-upgrade and managing image updates via deployment manifests.  
Containerized MID Server uses a Docker image of the MID Server that allows you to
quickly deploy MID Servers at scale. MID Servers are deployed using orchestration tools like
OpenShift or Kubernetes. Orchestration tools can automate their deployment and maintenance and
add new containers on demand or replace failed containers automatically.

|-|
|   |
[ ]

{#containerized-mid__table_p53_ms4_nhb}

To use Containerized MID Servers, you can download Docker recipes for Linux from the MID
Server download page. Use the recipes to build the Docker images for the current release.
The recipes are zipped and signed. Some features have been deprecated for the Washington DC
family release. See [\[KB1559617\] Deprecated Containerized MID Server Features
in Washington DC](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1559617) for more information.  
Containerized MID Server system requirements:

* AlmaLinux is supported.

* The recipes cannot be used to build images for previous MID Server versions.

* Discovery of NMAP and CyberArk are not supported.

* Other applications such as Orchestration and Integration Hub are not certified.

{#containerized-mid__ul_ojz_hw1_ypb}

Once the Docker images are available, you can create new MID Server containers and configure them with configuration parameters passed through environment variables or secret files. Docker, Openshift, and Kubernetes secrets are
supported. The MID Server application inside the container is run as a process by a non-admin user.

When a containerized MID Server record is first created on the instance, a random UUID is
created and set to the container_id column. During the start-up sequence,
this value is replaced by the actual container ID. The container ID can be used to differentiate
between containerized and regular MID Servers. Non-containerized MID Servers' container ID have a
null or empty value.

In order to automatically clean up the down MID Servers on Instance, a scheduled job called
Purge Orphaned Containerized MID Servers is scheduled to run daily. This job removes orphaned
containerized MID Servers if they are down longer than the value set by the
max_retention_days property. The job also creates a warning MID Server
issue each day before the removal day, if there are equal to or less than the value of
warn_days remaining. The default values for
max_retention_days and warn_days are 30 and 7,
respectively.

## Auto-upgrade {#containerized-mid__section_hgk_s21_ypb}

Auto-upgrade works the same way for containerized MID Servers as it does for regular MID Servers. However, it is recommended to disable the auto-upgrade for containerized MID Servers. If auto-upgrade stays enabled, each time a
container pod is re-created, it starts from the original image and the MID Server must upgrade again. To avoid this, set the mid.container.autoupgrade.enabled parameter to false. Whenever a new image is
needed, build a new image and deploy it by updating the deployment YAML file then re-apply it.

Containerized MID Server auto-upgrade is controlled by the mid.container.autoupgrade.enabled config parameter and is set to true by default. The config parameter is read-only, therefore it can not be synced
down from the instance.

Add the config parameter to a MID Server profile and use it with new deployment requests. The settings are included in the deployment YAML file when the deployment request is exported. The settings are also included when the
file is manually updated and re-applied.

## HealthCheck {#containerized-mid__section_o45_s21_ypb}

A HEALTHCHECK rule is implemented to check MID Server health status based on heartbeat every 5
minutes. If there was no heartbeat activity in last 30 minutes, it is considered a failure.
After 3 consecutive failures, it becomes unhealthy in the docker ps command output.

To see more HealthCheck details, run the following [docker inspection command](https://docs.docker.com/engine/reference/commandline/inspect/): docker inspect --format='{{json .State.Health}}' \<container-id\>

## Basic Container Operations {#containerized-mid__section_pph_t21_ypb}

Basic operations are supported on container side. For example, you can stop, start, or restart a running container using Docker commands.

docker stop \<container_id\>
:   This command shuts down the containerized MID Server.

docker start \<container_id\>
:   This command starts a containerized MID Server if it is stopped.

docker restart \<container_id\>
:   This command shuts down a MID Server and restarts it.

## Build MID Server Docker Image {#containerized-mid__section_qqk_31k_jsb}

[Build a MID Server Docker Image](https://www.servicenow.com/docs/g3YbSRkKJcC~F9Bt1oL8Pg#mid-build-docker-linux "Deploy Containerized MID Servers on Linux by creating a Docker image with the provided recipes. Containerized MID Server uses a Docker image of the MID Server that allows you to quickly deploy MID Servers at scale.") with the provided recipes to deploy a Containerized MID Server. Containerized MID Server uses a Docker image of the MID Server that allows you to quickly
deploy MID Servers at scale.

## Containerized MID Server Deployment and Auto-configuration {#containerized-mid__section_nxl_21k_jsb}

The [deployment and auto-configuration feature](https://www.servicenow.com/docs/fj8vXWClHcCg8BiqI6LOoA "An agent admin can enter a MID Server Profile and create a deployment request on the instance. She/he can then export the deployment request to a YAML file and use it to deploy MID Servers to Kubernetes or OpenShift cluster.") lets an agent admin enter all required MID Server settings in a MID Server Profile on the instance, then submit a deployment request to a
K8s cluster. After the request is processed, the new MID Servers are automatically created and auto-configured. They are ready to use in seconds. If the MID Server profile is changed, the related Containerized MID Servers can
also be updated on demand.

