feat(doc): update to version 2 syntax

Signed-off-by: Romain Aviolat <r.aviolat@gmail.com>
This commit is contained in:
Romain Aviolat
2021-10-21 17:01:15 +02:00
parent 10d9d1a60f
commit ebc5cf19ac
2 changed files with 66 additions and 32 deletions

View File

@@ -16,21 +16,7 @@ You can download one of the latest builds for containerd on the [github releases
If you are using systemd, we have a `containerd.service` file at the root of the repository that you can use.
The daemon also uses a configuration file located in `/etc/containerd/config.toml` for specifying daemon level options.
A sample configuration file looks like this:
```toml
oom_score = -999
[debug]
level = "debug"
[metrics]
address = "127.0.0.1:1338"
[plugins.linux]
runtime = "runc"
shim_debug = true
```
A sample configuration file can be found [here](containerd/docs/man/containerd-config.toml.5.md)
The default configuration can be generated via `containerd config default > /etc/containerd/config.toml`.