Public | Automated Build

Last pushed: 3 years ago
Short Description
Erlang/OTP image of Basho's forked version.
Full Description


For a few releases in a row now, Basho has packaged a fork of Erlang/OTP along
with Riak/Riak CS. If you're installing Riak/Riak CS from a package, all of
the hard work has been taken care of for you. If you are installing from
source, then you may want to install the forked version of Erlang/OTP as well.

This Dockerfile aids building Basho's forked version of Erlang/OTP. The most
recent fork is R16B02_basho5, which is meant to be paired with Riak 2.0.

Note: All patches included in the Basho fork have already been adopted in
later versions of the official Erlang/OTP release.


$ git clone
$ cd docker-riak
$ make build


$ docker run -t -i hectcastro/basho-otp /bin/bash
root@af6bd028333c:/# erl
Erlang R16B02-basho5 (erts-5.10.3) [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]

Eshell V5.10.3  (abort with ^G)


The phusion/baseimage-docker
image has the ability to enable an insecure key for conveniently logging
into a container via SSH. It is enabled in the Dockerfile by default here:

RUN /usr/sbin/enable_insecure_key

In order to login to the container via SSH using the insecure key, follow
the steps below.

Use docker inspect to determine the container IP address:

$ docker inspect $CONTAINER_ID | grep IPAddress
        "IPAddress": "",

Download the insecure key, alter its permissions, and use it to SSH into the
container via its IP address:

$ curl -o insecure_key -fSL
$ chmod 600 insecure_key
$ ssh -i insecure_key root@

Note: If you're using
boot2docker, ensure that you're
issuing the SSH command from within the virtual machine running boot2docker.

Docker Pull Command
Source Repository