You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Dan Santner <da...@me.com> on 2015/10/03 05:56:33 UTC

two couchdb docker containers writing to the same mount?

I think this is just not the way couch was meant to be used but….

I setup two docker containers which shared the couchdb database directory and ran them simultaneously.

Mostly it worked like a cluster….but there were plenty of strange errors.  I assume couch isn’t meant to run this way.  I assume each instance of couch wants to own those files?

Re: two couchdb docker containers writing to the same mount?

Posted by Robert Newson <rn...@apache.org>.
It's definitely not supposed to run this way. You'll certainly corrupt your databases if you allow two couchdb instances to write to the same files. 

> On 3 Oct 2015, at 04:56, Dan Santner <da...@me.com> wrote:
> 
> I think this is just not the way couch was meant to be used but….
> 
> I setup two docker containers which shared the couchdb database directory and ran them simultaneously.
> 
> Mostly it worked like a cluster….but there were plenty of strange errors.  I assume couch isn’t meant to run this way.  I assume each instance of couch wants to own those files?