From a30853c08ab766c460b72ea42377928c238ab139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=B0alsteinn=20R=C3=BAnarsson?= Date: Fri, 28 Aug 2020 14:36:15 +0000 Subject: [PATCH] Update example to use newer Ubuntu LTS Fixes #11252 I've tested running the Dockerfile with the updated ubuntu LTS (20.04) and the example still works. --- engine/examples/running_ssh_service.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/examples/running_ssh_service.md b/engine/examples/running_ssh_service.md index 6c85135649..acce010bbb 100644 --- a/engine/examples/running_ssh_service.md +++ b/engine/examples/running_ssh_service.md @@ -20,7 +20,7 @@ quick access to a test container. Make the following substitutions: - With `RUN sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config`, use `without-password` instead of `prohibit-password` for Ubuntu 14.04. ```dockerfile -FROM ubuntu:16.04 +FROM ubuntu:20.04 RUN apt-get update && apt-get install -y openssh-server RUN mkdir /var/run/sshd