Skip to content

Commit 021beb5

Browse files
authored
Merge pull request #7747 from yanggangtony/fix-ops-md
2 parents 9457fec + 3453321 commit 021beb5

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

docs/ops.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,36 @@ USAGE:
1919
containerd [global options] command [command options] [arguments...]
2020
2121
VERSION:
22-
v1.0.0-alpha3-36-ge9b86af
22+
v1.7.0-beta.0
23+
24+
DESCRIPTION:
25+
26+
containerd is a high performance container runtime whose daemon can be started
27+
by using this command. If none of the *config*, *publish*, *oci-hook*, or *help* commands
28+
are specified, the default action of the **containerd** command is to start the
29+
containerd daemon in the foreground.
30+
31+
32+
A default configuration is used if no TOML configuration is specified or located
33+
at the default file location. The *containerd config* command can be used to
34+
generate the default configuration for containerd. The output of that command
35+
can be used and modified as necessary as a custom configuration.
2336
2437
COMMANDS:
25-
config information on the containerd config
26-
help, h Shows a list of commands or help for one command
38+
config information on the containerd config
39+
publish binary to publish events to containerd
40+
oci-hook provides a base for OCI runtime hooks to allow arguments to be injected.
41+
help, h Shows a list of commands or help for one command
2742
2843
GLOBAL OPTIONS:
2944
--config value, -c value path to the configuration file (default: "/etc/containerd/config.toml")
30-
--log-level value, -l value set the logging level [debug, info, warn, error, fatal, panic]
45+
--log-level value, -l value set the logging level [trace, debug, info, warn, error, fatal, panic]
3146
--address value, -a value address for containerd's GRPC server
3247
--root value containerd root directory
48+
--state value containerd state directory
3349
--help, -h show help
3450
--version, -v print the version
51+
3552
```
3653

3754
While a few daemon level options can be set from CLI flags the majority of containerd's configuration is kept in the configuration file.

0 commit comments

Comments
 (0)