guillermo/riak

By guillermo

Updated over 9 years ago

Base ubuntu + riak 1.4.2 amd64 + modification to work out of the box

Image
1

290

Image that should work out of the box and export the default protocol buffers and http interfaces. This is intended just for development with one node only. NOT FOR PRODUCTION

Modifications
  • ring_size 8. Docker have a default ulimit of 1024 (without modification). So this riak works out of the box.
  • /usr/sbin/riak Modify with 3 changes:
    • Don't show ulimit alert
    • Don't move to background and stay active (remove the -daemon from the riak start).
    • run riak-admin test every 60 seconds to confirm (it is normal that the first fails while riak is starting)
Exported ports
  • 8098
  • 8087
More info

This is the Dockerfile use to create this image:

FROM ubuntu 
MAINTAINER Guillermo Álvarez <guillermo@cientifico.net>
ADD riak_1.4.2-1_amd64.deb /tmp/riak_1.4.2-1_amd64.deb
RUN apt-get install  libc6 libgcc1 libssl1.0.0 libstdc++6 libtinfo5 adduser logrotate sudo -y -y -y
RUN dpkg -i /tmp/riak_1.4.2-1_amd64.deb
RUN rm /tmp/riak_1.4.2-1_amd64.deb
ADD riak /usr/sbin/riak
ADD app.config /etc/riak/app.config
CMD /usr/sbin/riak start
EXPOSE 8098 8087

You can find the rest of the files in the guillermo/riak-docker github repository.

Docker Pull Command

docker pull guillermo/riak