Docker support

Jon Brisbin jbrisbin at basho.com
Wed Jul 13 16:08:25 EDT 2016


I guess to answer at least one part of your question on whether it's
"encouraged" or not: it depends on what you want to do with it.

I can't speak for the support side of things but on the engineering side
anyway we're using Docker containers fairly happily to do things like
create ephemeral clusters for doing adhoc testing. It makes for a very nice
way to run a small cluster on a laptop or on a Mesos slave in a Jenkins
build with very similar expectations (I won't say identical because
networking issues can rear their head). I created images based on the
latest TS and KV packages. There are docs in the READMEs:

https://hub.docker.com/r/basho/riak-ts/
https://hub.docker.com/r/basho/riak-kv/

Running a production Riak cluster, however, raises some concerns that I'm
pretty sure no one really has a good handle on. Networking issues can
become difficult unless you use something like Weave. Volumes could also be
an issue. docker-compose and Docker Swarm should help with some of this but
we don't have any docs that demonstrate how to use them.

I'd say we also don't have a comprehensive picture of performance
characteristics of running a Dockerized Riak cluster since there's several
moving parts to consider. We need to investigate bridged vs host networking
mode and using different volume drivers, etc... There is some valid concern
that the key reasons you'd want to use Riak to begin with are somewhat
ameliorated by a Docker container's ephemeral nature; e.g. it's really easy
to kill off containers which might lead to accidental data loss.

jb



On Wed, Jul 13, 2016 at 1:47 PM Adam Winter <awinter at pillartechnology.com>
wrote:

> Is a Docker-based deployment of Riak officially supported by Basho and
> encouraged?
>
> I see articles of how to configure Riak to run in Docker images, but no
> explicit mention of it within the list of supported platforms.
>
>
> Adam Winter
> 614-446-9033
> Delivery Lead
> Pillar Technology Group, LLC
> awinter at pillartechnology.com
>
> Interact with me on:
> LinkedIn <https://www.linkedin.com/in/adamwinter> | Twitter
> <http://www.twitter.com/AdamWinter>
>
>
>
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160713/bfa2cd27/attachment-0002.html>


More information about the riak-users mailing list