You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-instances/container-state.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,12 @@
1
1
---
2
2
title: Azure Container Instances states
3
3
description: Learn about the states of Azure Container Instances provisioning operations, containers, and container groups.
4
-
ms.author: nickoman
5
-
author: nickomang
6
-
ms.topic: article
7
-
ms.date: 03/25/2021
4
+
ms.author: tomcassidy
5
+
author: tomvcassidy
6
+
ms.topic: how-to
7
+
ms.service: container-instances
8
+
services: container-instances
9
+
ms.date: 07/02/2024
8
10
---
9
11
10
12
# Azure Container Instances states
@@ -13,7 +15,7 @@ Azure Container Instances displays several independent state values. This articl
13
15
14
16
## Where to find state values
15
17
16
-
In the Azure portal, state is shown in various locations. All state values are accessible via the JSON definition of the resource. This value can be found under Essentials in the Overview blade, shown below.
18
+
In the Azure portal, state is shown in various locations. All state values are accessible via the JSON definition of the resource. This value can be found under Essentials in the Overview blade, shown in the following image.
17
19
18
20
:::image type="content" source="./media/container-state/provisioning-state.png" alt-text="The Overview blade in the Azure portal is shown. The link 'JSON view' is highlighted.":::
19
21
@@ -32,15 +34,15 @@ This value is the state of the deployed container group on the backend.
32
34
33
35
:::image type="content" source="./media/container-state/container-group-state.png" alt-text="The overview blade for the resource in the Azure portal is shown in a web browser. The text 'Status: Running' is highlighted.":::
34
36
35
-
-**Running**: The container group is running and will continue to try to run until a user action or a stop caused by the restart policy occurs.
37
+
-**Running**: The container group is running and continues to run until a user action or a stop caused by the restart policy occurs.
36
38
37
-
-**Stopped**: The container group has been stopped and will not be scheduled to run without user action.
39
+
-**Stopped**: The container group is stopped and won't run without user action.
38
40
39
41
-**Pending**: The container group is waiting to initialize (finish running init containers, mount Azure file volumes if applicable). The container continues to attempt to get to the **Running** state unless a user action (stop/delete) happens.
40
42
41
-
-**Succeeded**: The container group has run to completion successfully. Only applicable for *Never* and *On Failure* restart policies.
43
+
-**Succeeded**: The container group ran to completion successfully. Only applicable for *Never* and *On Failure* restart policies.
42
44
43
-
-**Failed**: The container group failed to run to completion. Only applicable with a *Never* restart policy. This state indicates either an infrastructure failure (example: incorrect Azure file share credentials) or user application failure (example: application references an environment variable that does not exist).
45
+
-**Failed**: The container group failed to run to completion. Only applicable with a *Never* restart policy. This state indicates either an infrastructure failure (example: incorrect Azure file share credentials) or user application failure (example: application references an environment variable that doesn't exist).
44
46
45
47
The following table shows what states are applicable to a container group based on the designated restart policy:
46
48
@@ -54,7 +56,7 @@ The following table shows what states are applicable to a container group based
54
56
55
57
## Containers
56
58
57
-
There are two state values for containers- a current state and a previous state. In the Azure portal, shown below, only current state is displayed. All state values are applicable for any given container regardless of the container group's restart policy.
59
+
There are two state values for containers- a current state and a previous state. In the Azure portal, shown in the following image, only current state is displayed. All state values are applicable for any given container regardless of the container group's restart policy.
58
60
59
61
> [!NOTE]
60
62
> The JSON values of `currentState` and `previousState` contain additional information, such as an exit code or a reason, that is not shown elsewhere in the Azure portal.
@@ -65,7 +67,7 @@ There are two state values for containers- a current state and a previous state.
65
67
66
68
-**Waiting**: The container is waiting to run. This state indicates either init containers are still running, or the container is backing off due to a crash loop.
67
69
68
-
-**Terminated**: The container has terminated, accompanied with an exit code value.
70
+
-**Terminated**: The container terminated, accompanied with an exit code value.
69
71
70
72
## Provisioning
71
73
@@ -74,7 +76,7 @@ This value is the state of the last operation performed on a container group. Ge
74
76
> [!IMPORTANT]
75
77
> Additionally, users should not create dependencies on non-terminal provisioning states. Dependencies on **Succeeded** and **Failed** states are acceptable.
76
78
77
-
In addition to the JSON view, provisioning state can be also be found in the [response body of the HTTP call](/rest/api/container-instances/2022-09-01/container-groups/create-or-update#response).
79
+
In addition to the JSON view, provisioning state can also be found in the [response body of the HTTP call](/rest/api/container-instances/2022-09-01/container-groups/create-or-update#response).
0 commit comments