Преглед на файлове

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 <elijah@zupancic.name>
Elijah Zupancic преди 10 години
родител
ревизия
31c5041157
променени са 1 файла, в които са добавени 4 реда и са изтрити 8 реда
  1. 4 8
      docs/sources/examples/running_riak_service.md

+ 4 - 8
docs/sources/examples/running_riak_service.md

@@ -31,17 +31,13 @@ After that, we install and setup a few dependencies:
     repository key
     repository key
  - `lsb-release` helps us derive the Ubuntu release
  - `lsb-release` helps us derive the Ubuntu release
     codename
     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
     # 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 mkdir -p /var/log/supervisor
 
 
     RUN locale-gen en_US en_US.UTF-8
     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
 Then, we expose the Riak Protocol Buffers and HTTP interfaces, along
 with SSH:
 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
 Finally, run `supervisord` so that Riak and OpenSSH
 are started:
 are started: