From 768d4b4d3f5133e8704870b1ad2521e299c24b25 Mon Sep 17 00:00:00 2001 From: Marc Bihlmaier Date: Wed, 31 Jan 2018 11:33:17 +0100 Subject: [PATCH] fix SSH README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e450887..b9f28c1 100644 --- a/README.md +++ b/README.md @@ -450,7 +450,7 @@ Then, you can start your container with docker run -d -v `pwd`/myfolder:/etc/my_init.d my/dockerimage -This will initialize sshd on container boot. You can then access it with the insecure key as below, or using the methods to add a secure key. Further, you can publish the port to your machine with -p 22:2222 allowing you to ssh to localhost:2222 instead of looking up the ip address. +This will initialize sshd on container boot. You can then access it with the insecure key as below, or using the methods to add a secure key. Further, you can publish the port to your machine with -p 2222:22 allowing you to ssh to 127.0.0.1:2222 instead of looking up the ip address of the container. #### About SSH keys