---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Containerized MID Server

# Containerized MID Server {#ariaid-title1}

Release version: Brazil  
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

The Containerized MID Server leverages a Docker image to enable rapid, scalable deployment of MID Servers using orchestration platforms like OpenShift or Kubernetes.
These tools automate deployment, maintenance, and container lifecycle management, including on-demand scaling and automatic replacement of failed containers.
Show full answer Show less  
ServiceNow provides downloadable Docker recipes for Linux (AlmaLinux supported) to build the current release images. These recipes are signed and zipped but cannot be used for older MID Server versions. Certain features such as NMAP and CyberArk discovery, as well as Orchestration and Integration Hub applications, are not supported or certified in this containerized environment.

## Key Features

* **Image Building:** Use provided Docker recipes to build MID Server images for container deployment.
* **Configuration:** MID Server containers are configured via environment variables or secret files, supporting Docker, OpenShift, and Kubernetes secrets.
* **Security:** The MID Server process runs under a non-admin user inside the container for enhanced security.
* **Identification:** Each containerized MID Server has a unique container ID assigned and updated at startup, distinguishing it from traditional MID Servers.
* **Orphaned MID Server Cleanup:** A scheduled job purges stale containerized MID Server records after a configurable retention period (default 30 days), with warnings issued 7 days prior to removal.
* **Auto-Upgrade:** Auto-upgrade functionality is available but recommended to be disabled for containerized MID Servers to prevent repeated upgrades on pod recreation. Instead, image updates should be managed through rebuilding images and updating deployment YAML files.
* **Health Checks:** A Docker HEALTHCHECK monitors MID Server heartbeat every 5 minutes. Failure to detect a heartbeat for 30 minutes triggers a health failure, and after three consecutive failures, the container is marked unhealthy.
* **Basic Container Operations:** Supports standard Docker commands such as start, stop, and restart for container lifecycle management.
* **Deployment and Auto-configuration:** Allows admins to define MID Server settings in a profile and submit deployment requests to Kubernetes clusters. MID Servers are automatically created, configured, and ready to use within seconds. Profile updates can trigger on-demand updates to deployed containers.

## Practical Considerations for ServiceNow Customers

* Use the official Docker recipes to build your container images ensuring compatibility with your ServiceNow instance's MID Server version.
* Leverage orchestration tools to automate scaling and high availability of MID Servers.
* Disable auto-upgrade for containerized MID Servers to avoid repeated in-container upgrades; manage updates by rebuilding and redeploying images.
* Utilize the scheduled purge job to maintain a clean environment by removing inactive containerized MID Servers.
* Monitor container health using Docker health checks to proactively identify and address MID Server issues.
* Apply environment variables or secrets for secure and flexible configuration management of MID Server containers.  
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://servicenow-prod.fluidtopics.net/B8c9qaWjGIO_ACoQeCEWsw#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://servicenow-prod.fluidtopics.net/zFlhH672N2FVMmzcDYs~wg "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.

