From 31c50411574b19cb81b5f88c0f8ca4bb4a2ead83 Mon Sep 17 00:00:00 2001 From: Elijah Zupancic Date: Tue, 24 Mar 2015 19:27:58 -0700 Subject: [PATCH] Removed references to creating an OpenSSH server. This method of accessing the Docker container is no longer needed now that the exec command is available. Signed-off-by: Elijah Zupancic --- docs/sources/examples/running_riak_service.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/sources/examples/running_riak_service.md b/docs/sources/examples/running_riak_service.md index 4945feff7..7c00ab0cd 100644 --- a/docs/sources/examples/running_riak_service.md +++ b/docs/sources/examples/running_riak_service.md @@ -31,17 +31,13 @@ After that, we install and setup a few dependencies: repository key - `lsb-release` helps us derive the Ubuntu release codename - - `openssh-server` allows us to login to - containers remotely and join Riak nodes to form a cluster - - `supervisor` is used manage the OpenSSH and Riak - processes + - `supervisor` is used manage the Riak processes # Install and setup project dependencies - RUN apt-get update && apt-get install -y curl lsb-release supervisor openssh-server + RUN apt-get update && apt-get install -y curl lsb-release supervisor - RUN mkdir -p /var/run/sshd RUN mkdir -p /var/log/supervisor RUN locale-gen en_US en_US.UTF-8 @@ -64,8 +60,8 @@ After that, we install Riak and alter a few defaults: Then, we expose the Riak Protocol Buffers and HTTP interfaces, along with SSH: - # Expose Riak Protocol Buffers and HTTP interfaces, along with SSH - EXPOSE 8087 8098 22 + # Expose Riak Protocol Buffers and HTTP interfaces + EXPOSE 8087 8098 Finally, run `supervisord` so that Riak and OpenSSH are started: