containerd: Don't expose metrics by default

This can be turned on if required but we'll default to leaving it off
It's been enabled in the top-level linuxkit.yml
This port is also non-standard and there doesn't appear to be a standard
port for this as yet.

Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
Dave Tucker 2017-06-01 15:56:44 +01:00 committed by Dave Tucker
parent 7efb87da50
commit 1af1a20a0d
2 changed files with 19 additions and 1 deletions

View File

@ -28,6 +28,24 @@ services:
files:
- path: etc/docker/daemon.json
contents: '{"debug": true}'
- path: etc/containerd/config.toml
contents: |
state = "/run/containerd"
root = "/var/lib/containerd"
snapshotter = "overlay"
subreaper = false
[grpc]
address = "/run/containerd/containerd.sock"
uid = 0
gid = 0
[debug]
address = "/run/containerd/debug.sock"
level = "info"
[metrics]
address = ":13337"
trust:
org:
- linuxkit

View File

@ -13,4 +13,4 @@ subreaper = false
level = "info"
[metrics]
address = ":13337"
address = ""