From 1f946b63a21ef1f78e5d814375ef3fa39a4e225c Mon Sep 17 00:00:00 2001 From: Oliver Walsh Date: Fri, 26 May 2017 17:19:25 +0100 Subject: Map /etc/ssh/ssh_known_hosts to all containers This allows any ssh client spawned from a container to validate ssh host key. Change-Id: I86d95848e5f049e8af98107cd7027098d6cdee7c Closes-bug: #1693841 --- docker/services/containers-common.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'docker') diff --git a/docker/services/containers-common.yaml b/docker/services/containers-common.yaml index a9912a1f..973d9994 100644 --- a/docker/services/containers-common.yaml +++ b/docker/services/containers-common.yaml @@ -18,3 +18,4 @@ outputs: - /etc/pki/tls/cert.pem:/etc/pki/tls/cert.pem:ro # Syslog socket - /dev/log:/dev/log + - /etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro -- cgit 1.2.3-korg