mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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>
This commit is contained in:
parent
17303b18b8
commit
31c5041157
1 changed files with 4 additions and 8 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue