From: Evan Bauer <evanbauer@mac.com>
To: M Jane <mskiesewetter@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Running postgresql databases in Docker
Date: Thu, 21 Mar 2019 11:10:25 -0400
Message-ID: <704D13AE-1174-4F32-9D71-C5C376B97582@mac.com> (raw)
In-Reply-To: <CANBd27Jy6Dr1ZzWwPbMajuMX1c6Y47t7PzYwqcPDXHaVqVErMw@mail.gmail.com>
References: <CANBd27Jy6Dr1ZzWwPbMajuMX1c6Y47t7PzYwqcPDXHaVqVErMw@mail.gmail.com>
Docker can certainly work, but for any kind of production application don’t keep the storage inside of the containers. Take a look at the approach Crunchy Data (crunchydata.com) has done in their Kubernetes orchestrator for PostgreSQL clusters as a solid implementation example. Sarah Conway good a good presentation at PostgresOpn SV last September, it may be online somewhere.
Cheers,
- Evan
Evan Bauer
eb@evanbauer.com
+1 646 641 2973
Skype: evanbauer
> On Mar 21, 2019, at 04:28, M Jane <mskiesewetter@gmail.com> wrote:
>
> Hi everyone,
> I am investigating using Docker for our Postgresql databases and I have rad a lot of oppinions on forums.
> The main thing that comes up is how to persist the data, and that it is not advised to run production with docker.
> I would like your advise.
> What is your experience with Docker and databases?
> What is the best practise to do this?
> Your help is much appreciated.
> Thanks in advance.
> regards,
> Marian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: evanbauer@mac.com, mskiesewetter@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Running postgresql databases in Docker
In-Reply-To: <704D13AE-1174-4F32-9D71-C5C376B97582@mac.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox