From 1bf7a4cce5e6235f4d9065e892c9aead51866238 Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 11:34:01 +0100 Subject: modif de code example dans les readme --- Services/ssh/Dockerfile | 2 +- Services/ssh/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Services/ssh') diff --git a/Services/ssh/Dockerfile b/Services/ssh/Dockerfile index c2a2c5e..904a064 100644 --- a/Services/ssh/Dockerfile +++ b/Services/ssh/Dockerfile @@ -8,7 +8,7 @@ RUN yum -y update \ RUN mkdir /var/run/sshd \ && ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N '' -# Add ssh keys +# Copy ssh keys COPY .ssh/authorized_keys /root/.ssh/authorized_keys EXPOSE 22 diff --git a/Services/ssh/README.md b/Services/ssh/README.md index 86bac2d..a753c27 100644 --- a/Services/ssh/README.md +++ b/Services/ssh/README.md @@ -7,13 +7,13 @@ This container run sshd on fedora server. You can overwrite /root/.ssh/autorized ## Build and run from local Dockerfile ### Building docker image -Copy the sources to your docker host +* Copy sources in your docker host mkdir startx-docker-images; cd startx-docker-images; git clone https://github.com/startxfr/docker-images.git . -and build the container +* Build the container docker build -t sv-ssh Services/ssh/ -- cgit v1.2.3