summaryrefslogtreecommitdiffstats
path: root/docker/services
diff options
context:
space:
mode:
authorOliver Walsh <owalsh@redhat.com>2017-05-26 17:19:25 +0100
committerOliver Walsh <owalsh@redhat.com>2017-06-07 11:17:19 +0000
commit1f946b63a21ef1f78e5d814375ef3fa39a4e225c (patch)
tree26fed568a7f1e526a368aa1a1d7318c31d81b9e5 /docker/services
parente7b7d4a0e3cda477324553df74ed1c98985a8a88 (diff)
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
Diffstat (limited to 'docker/services')
-rw-r--r--docker/services/containers-common.yaml1
1 files changed, 1 insertions, 0 deletions
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