feat(doc): update to version 2 syntax
Signed-off-by: Romain Aviolat <r.aviolat@gmail.com>
This commit is contained in:
@@ -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`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user