From 9de3c4e47cb764ba935301139d53442488ea8165 Mon Sep 17 00:00:00 2001 From: gsantandrea <4154844+gsantandrea@users.noreply.github.com> Date: Fri, 19 Oct 2018 15:21:55 +0200 Subject: [PATCH 1/3] Update running_ssh_service.md --- engine/examples/running_ssh_service.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/examples/running_ssh_service.md b/engine/examples/running_ssh_service.md index 2d4d8e568a..2448076665 100644 --- a/engine/examples/running_ssh_service.md +++ b/engine/examples/running_ssh_service.md @@ -28,6 +28,8 @@ EXPOSE 22 CMD ["/usr/sbin/sshd", "-D"] ``` +NOTE: use `without-password` instead of `prohibit-password` for Ubuntu 14.04. + Build the image using: ```bash From 2ebcae323023448633c4d385894a3b91f2f14956 Mon Sep 17 00:00:00 2001 From: Anne Henmi <41210220+ahh-docker@users.noreply.github.com> Date: Fri, 25 Jan 2019 08:05:08 -0700 Subject: [PATCH 2/3] Update running_ssh_service.md Fixed formatting and wording. Also moved note above the code. --- engine/examples/running_ssh_service.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/examples/running_ssh_service.md b/engine/examples/running_ssh_service.md index 2448076665..f4cb63f03a 100644 --- a/engine/examples/running_ssh_service.md +++ b/engine/examples/running_ssh_service.md @@ -10,6 +10,8 @@ The following `Dockerfile` sets up an SSHd service in a container that you can use to connect to and inspect other container's volumes, or to get quick access to a test container. +> *** NOTE: *** For Ubunt 14.04, use `without-password` instead of `prohibit-password`. + ```Dockerfile FROM ubuntu:16.04 @@ -28,7 +30,6 @@ EXPOSE 22 CMD ["/usr/sbin/sshd", "-D"] ``` -NOTE: use `without-password` instead of `prohibit-password` for Ubuntu 14.04. Build the image using: From 7bd0d30b4b24be0c36c690fe8f15d2cbae37be02 Mon Sep 17 00:00:00 2001 From: Anne Henmi <41210220+ahh-docker@users.noreply.github.com> Date: Sun, 27 Jan 2019 21:48:30 -0700 Subject: [PATCH 3/3] Update running_ssh_service.md Fixed typo. --- 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 f4cb63f03a..17f7e607e4 100644 --- a/engine/examples/running_ssh_service.md +++ b/engine/examples/running_ssh_service.md @@ -10,7 +10,7 @@ The following `Dockerfile` sets up an SSHd service in a container that you can use to connect to and inspect other container's volumes, or to get quick access to a test container. -> *** NOTE: *** For Ubunt 14.04, use `without-password` instead of `prohibit-password`. +> *** NOTE: *** For Ubuntu 14.04, use `without-password` instead of `prohibit-password`. ```Dockerfile FROM ubuntu:16.04