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
Command flags (OPTIONS) in man pages have to date been in
haphazard order. Sometimes that order is sensible, e.g.,
most-important options first, but more often they're
just in arbitrary places. This makes life hard for users.
Here, I update the man-page-check Makefile script so it
checks and enforces alphabetical order in OPTIONS sections.
Then -- the hard part -- update all existing man pages to
conform to this requirement.
Signed-off-by: Ed Santiago <[email protected]>
Copy file name to clipboardexpand all lines: docs/source/markdown/podman-container-checkpoint.1.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,14 @@ to import the *container* on another system and thus enabling container live
35
35
migration. This checkpoint archive also includes all changes to the *container's*
36
36
root file-system, if not explicitly disabled using **--ignore-rootfs**.
37
37
38
+
#### **--file-locks**
39
+
40
+
Checkpoint a *container* with file locks. If an application running in the container
41
+
is using file locks, this OPTION is required during checkpoint and restore. Otherwise
42
+
checkpointing *containers* with file locks is expected to fail. If file locks are not
43
+
used, this option is ignored.\
44
+
The default is **false**.
45
+
38
46
#### **--ignore-rootfs**
39
47
40
48
If a checkpoint is exported to a tar.gz file it is possible with the help of **--ignore-rootfs** to explicitly disable including changes to the root file-system into the checkpoint archive file.\
@@ -119,14 +127,6 @@ restore. Defaults to not checkpointing *containers* with established TCP
119
127
connections.\
120
128
The default is **false**.
121
129
122
-
#### **--file-locks**
123
-
124
-
Checkpoint a *container* with file locks. If an application running in the container
125
-
is using file locks, this OPTION is required during checkpoint and restore. Otherwise
126
-
checkpointing *containers* with file locks is expected to fail. If file locks are not
127
-
used, this option is ignored.\
128
-
The default is **false**.
129
-
130
130
#### **--with-previous**
131
131
132
132
Check out the *container* with previous criu image files in pre-dump. It only works on `runc 1.0-rc3` or `higher`.\
Copy file name to clipboardexpand all lines: docs/source/markdown/podman-container-clone.1.md
+54-54
Original file line number
Diff line number
Diff line change
@@ -11,25 +11,6 @@ podman\-container\-clone - Creates a copy of an existing container
11
11
12
12
## OPTIONS
13
13
14
-
#### **--name**
15
-
16
-
Set a custom name for the cloned container. The default if not specified is of the syntax: **<ORIGINAL_NAME>-clone**
17
-
18
-
#### **--destroy**
19
-
20
-
Remove the original container that we are cloning once used to mimic the configuration.
21
-
22
-
#### **--cpus**
23
-
24
-
Set a number of CPUs for the container that overrides the original containers CPU limits. If none are specified, the original container's Nano CPUs are used.
25
-
26
-
This is shorthand
27
-
for **--cpu-period** and **--cpu-quota**, so only **--cpus** or either both the **--cpu-period** and **--cpu-quota** options can be set.
28
-
29
-
#### **--cpuset-cpus**
30
-
31
-
CPUs in which to allow execution (0-3, 0,1). If none are specified, the original container's CPUset is used.
32
-
33
14
#### **--cpu-period**=*limit*
34
15
35
16
Set the CPU period for the Completely Fair Scheduler (CFS), which is a
If none is specified, the original container's CPU quota are used.
41
+
42
+
#### **--cpu-rt-period**=*microseconds*
43
+
44
+
Limit the CPU real-time period in microseconds
45
+
46
+
Limit the container's Real Time CPU usage. This option tells the kernel to restrict the container's Real Time CPU usage to the period specified.
47
+
48
+
This option is not supported on cgroups V2 systems.
49
+
50
+
If none is specified, the original container's CPU runtime period is used.
51
+
52
+
53
+
#### **--cpu-rt-runtime**=*microseconds*
54
+
55
+
Limit the CPU real-time runtime in microseconds.
56
+
57
+
Limit the containers Real Time CPU usage. This option tells the kernel to limit the amount of time in a given CPU period Real Time tasks may consume. Ex:
58
+
Period of 1,000,000us and Runtime of 950,000us means that this container could consume 95% of available CPU and leave the remaining 5% to normal priority tasks.
59
+
60
+
The sum of all runtimes across containers cannot exceed the amount allotted to the parent cgroup.
61
+
62
+
This option is not supported on cgroup V2 systems.
63
+
46
64
#### **--cpu-shares**=*shares*
47
65
48
66
CPU shares (relative weight)
@@ -82,6 +100,17 @@ PID container CPU CPU share
82
100
83
101
If none are specified, the original container's CPU shares are used.
84
102
103
+
#### **--cpus**
104
+
105
+
Set a number of CPUs for the container that overrides the original containers CPU limits. If none are specified, the original container's Nano CPUs are used.
106
+
107
+
This is shorthand
108
+
for **--cpu-period** and **--cpu-quota**, so only **--cpus** or either both the **--cpu-period** and **--cpu-quota** options can be set.
109
+
110
+
#### **--cpuset-cpus**
111
+
112
+
CPUs in which to allow execution (0-3, 0,1). If none are specified, the original container's CPUset is used.
113
+
85
114
#### **--cpuset-mems**=*nodes*
86
115
87
116
Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems.
@@ -92,42 +121,9 @@ two memory nodes.
92
121
93
122
If none are specified, the original container's CPU memory nodes are used.
94
123
95
-
#### **--cpu-quota**=*limit*
96
-
97
-
Limit the CPU Completely Fair Scheduler (CFS) quota.
98
-
99
-
Limit the container's CPU usage. By default, containers run with the full
100
-
CPU resource. The limit is a number in microseconds. If a number is provided,
101
-
the container will be allowed to use that much CPU time until the CPU period
102
-
ends (controllable via **--cpu-period**).
103
-
104
-
On some systems, changing the CPU limits may not be allowed for non-root
If none is specified, the original container's CPU quota are used.
109
-
110
-
#### **--cpu-rt-period**=*microseconds*
111
-
112
-
Limit the CPU real-time period in microseconds
113
-
114
-
Limit the container's Real Time CPU usage. This option tells the kernel to restrict the container's Real Time CPU usage to the period specified.
115
-
116
-
This option is not supported on cgroups V2 systems.
117
-
118
-
If none is specified, the original container's CPU runtime period is used.
119
-
120
-
121
-
#### **--cpu-rt-runtime**=*microseconds*
122
-
123
-
Limit the CPU real-time runtime in microseconds.
124
-
125
-
Limit the containers Real Time CPU usage. This option tells the kernel to limit the amount of time in a given CPU period Real Time tasks may consume. Ex:
126
-
Period of 1,000,000us and Runtime of 950,000us means that this container could consume 95% of available CPU and leave the remaining 5% to normal priority tasks.
127
-
128
-
The sum of all runtimes across containers cannot exceed the amount allotted to the parent cgroup.
124
+
#### **--destroy**
129
125
130
-
This option is not supported on cgroup V2 systems.
126
+
Remove the original container that we are cloning once used to mimic the configuration.
131
127
132
128
#### **--memory**, **-m**=*limit*
133
129
@@ -141,6 +137,10 @@ system's page size (the value would be very large, that's millions of trillions)
141
137
142
138
If no memory limits are specified, the original container's will be used.
143
139
140
+
#### **--name**
141
+
142
+
Set a custom name for the cloned container. The default if not specified is of the syntax: **<ORIGINAL_NAME>-clone**
143
+
144
144
#### **--run**
145
145
146
146
When set to true, this flag runs the newly created container after the
Copy file name to clipboardexpand all lines: docs/source/markdown/podman-container-restore.1.md
+24-24
Original file line number
Diff line number
Diff line change
@@ -16,25 +16,14 @@ Restore all checkpointed *containers*.\
16
16
The default is **false**.\
17
17
*IMPORTANT: This OPTION does not need a container name or ID as input argument.*
18
18
19
-
#### **--keep**, **-k**
19
+
#### **--file-locks**
20
20
21
-
Keep all temporary log and statistics files created by `CRIU` during
22
-
checkpointing as well as restoring. These files are not deleted if restoring
23
-
fails for further debugging. If restoring succeeds these files are
24
-
theoretically not needed, but if these files are needed Podman can keep the
25
-
files for further analysis. This includes the checkpoint directory with all
26
-
files created during checkpointing. The size required by the checkpoint
27
-
directory is roughly the same as the amount of memory required by the
28
-
processes in the checkpointed *container*.\
29
-
Without the **--keep**, **-k** option the checkpoint will be consumed and cannot be used again.\
21
+
Restore a *container* with file locks. This option is required to
22
+
restore file locks from a checkpoint image. If the checkpoint image
23
+
does not contain file locks, this option is ignored. Defaults to not
24
+
restoring file locks.\
30
25
The default is **false**.
31
26
32
-
#### **--latest**, **-l**
33
-
34
-
Instead of providing the *container ID* or *name*, use the last created *container*. If other tools than Podman are used to run *containers* such as `CRI-O`, the last started *container* could be from either tool.\
35
-
The default is **false**.\
36
-
*IMPORTANT: This OPTION is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines. This OPTION does not need a container name or ID as input argument.*
37
-
38
27
#### **--ignore-rootfs**
39
28
40
29
If a *container* is restored from a checkpoint tar.gz file it is possible that it also contains all root file-system changes. With **--ignore-rootfs** it is possible to explicitly disable applying these root file-system changes to the restored *container*.\
@@ -89,6 +78,25 @@ Import a pre-checkpoint tar.gz file which was exported by Podman. This option
89
78
must be used with **-i** or **--import**. It only works on `runc 1.0-rc3` or `higher`.
90
79
*IMPORTANT: This OPTION is not supported on the remote client, including Mac and Windows (excluding WSL2) machines.*
91
80
81
+
#### **--keep**, **-k**
82
+
83
+
Keep all temporary log and statistics files created by `CRIU` during
84
+
checkpointing as well as restoring. These files are not deleted if restoring
85
+
fails for further debugging. If restoring succeeds these files are
86
+
theoretically not needed, but if these files are needed Podman can keep the
87
+
files for further analysis. This includes the checkpoint directory with all
88
+
files created during checkpointing. The size required by the checkpoint
89
+
directory is roughly the same as the amount of memory required by the
90
+
processes in the checkpointed *container*.\
91
+
Without the **--keep**, **-k** option the checkpoint will be consumed and cannot be used again.\
92
+
The default is **false**.
93
+
94
+
#### **--latest**, **-l**
95
+
96
+
Instead of providing the *container ID* or *name*, use the last created *container*. If other tools than Podman are used to run *containers* such as `CRI-O`, the last started *container* could be from either tool.\
97
+
The default is **false**.\
98
+
*IMPORTANT: This OPTION is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines. This OPTION does not need a container name or ID as input argument.*
99
+
92
100
#### **--name**, **-n**=*name*
93
101
94
102
If a *container* is restored from a checkpoint tar.gz file it is possible to rename it with **--name, -n**. This way it is possible to restore a *container* from a checkpoint multiple times with different
@@ -149,14 +157,6 @@ option is ignored. Defaults to not restoring *containers* with established TCP
149
157
connections.\
150
158
The default is **false**.
151
159
152
-
#### **--file-locks**
153
-
154
-
Restore a *container* with file locks. This option is required to
155
-
restore file locks from a checkpoint image. If the checkpoint image
156
-
does not contain file locks, this option is ignored. Defaults to not
0 commit comments