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
runtime-linux: Transition from Markdown to AsciiDoc
The new bits for this file are the table [1] and the leveloffset [2].
Keeping runtime-linux under runtime makes the ToC tree more
consistent (all the runtime stuff is under section 5).
[1]: http://asciidoc.org/userguide.html#_tables
23. Tables
[2]: http://asciidoc.org/userguide.html#X90
36.5. Combining separate documents
Barring access control concerns, the entity using a runtime to create a container MUST be able to use the operations defined in this specification against that same container.
11
14
Whether other entities using the same, or other, instance of the runtime can see that container is out of scope of this specification.
12
15
13
16
[[state]]
14
17
State
15
-
^^^^^
18
+
+++++
16
19
17
20
The state of a container MUST include, at least, the following properties:
18
21
@@ -70,7 +73,7 @@ When serialized in JSON, the format MUST adhere to the following pattern:
70
73
See <<state-operation>> for information on retrieving the state of a container.
71
74
72
75
Lifecycle
73
-
~~~~~~~~~
76
+
^^^^^^^^^
74
77
75
78
The lifecycle describes the timeline of events that happen from when a container is created to when it ceases to exist.
76
79
@@ -101,13 +104,13 @@ The lifecycle describes the timeline of events that happen from when a container
101
104
The container MUST be destroyed by undoing the steps performed during create phase (<<lifecycle-create>>).
102
105
103
106
Errors
104
-
~~~~~~
107
+
^^^^^^
105
108
106
109
In cases where the specified operation generates an error, this specification does not mandate how, or even if, that error is returned or exposed to the user of an implementation.
107
110
Unless otherwise stated, generating an error MUST leave the state of the environment as if the operation were never attempted - modulo any possible trivial ancillary changes such as logging.
108
111
109
112
Operations
110
-
~~~~~~~~~~
113
+
^^^^^^^^^^
111
114
112
115
OCI compliant runtimes MUST support the following operations, unless the operation is not supported by the base operating system.
113
116
@@ -117,7 +120,7 @@ These operations are not specifying any command line APIs, and the parameters ar
117
120
[[state-operation]]
118
121
[caption="foo bar"]
119
122
State
120
-
^^^^^
123
+
+++++
121
124
122
125
`state <container-id>`
123
126
@@ -127,7 +130,7 @@ This operation MUST return the state of a container as specified in <<state>>.
127
130
128
131
[[create,create]]
129
132
Create
130
-
^^^^^^
133
+
++++++
131
134
132
135
`create <container-id> <path-to-bundle>`
133
136
@@ -146,7 +149,7 @@ Any changes made to the `<<config>>` after this operation will not have an effec
146
149
147
150
[[start,start]]
148
151
Start
149
-
^^^^^
152
+
+++++
150
153
151
154
`start <container-id>`
152
155
@@ -159,7 +162,7 @@ Upon successful completion of this operation the <<status>> property of this con
159
162
160
163
[[kill,kill]]
161
164
Kill
162
-
^^^^
165
+
++++
163
166
164
167
`kill <container-id> <signal>`
165
168
@@ -171,7 +174,7 @@ When the process in the container is stopped, irrespective of it being as a resu
171
174
172
175
[[delete,delete]]
173
176
Delete
174
-
^^^^^^
177
+
++++++
175
178
176
179
`delete <container-id>`
177
180
@@ -184,7 +187,13 @@ Once a container is deleted its ID MAY be used by a subsequent container.
184
187
185
188
[[runtime-hooks]]
186
189
Hooks
187
-
^^^^^
190
+
+++++
188
191
189
192
Many of the operations specified in this specification have "hooks" that allow for additional actions to be taken before or after each operation.
0 commit comments