Re: containers

  • From: Seth Miller <sethmiller.sm@xxxxxxxxx>
  • To: Tim Hall <tim@xxxxxxxxxxxxxxx>
  • Date: Wed, 29 May 2019 10:29:17 -0500

We use Docker and now Kubernetes extensively in CICD software testing,
including in some cases Oracle databases. In a product I worked in
previously, we used Docker to spin up dozens of Oracle RAC systems daily.
This was a couple of years ago when Oracle told us it was impossible and
pointless.

Seth

On Wed, May 29, 2019 at 2:17 AM Tim Hall <tim@xxxxxxxxxxxxxxx> wrote:

Hi.

We are using Docker for the application layer mostly. We have out Oracle
REST Data Services (ORDS) running on Tomcat inside Docker. It's awesome and
saves me so much time and is so much more flexible compared to when I was
using regular tomcat instances. I think Docker fits in the middle tier so
well that I now get annoyed when I have to use a regular VM.

For one project I do web servers (Nginx), app servers (Rails) and
databases (PorsgreSQL) all in Docker, using Swarm to define the
infrastructure. I'm very happy with it. Small footprint database etc. Every
weekend I rebuild all the images and replace the whole infrastructure with
the latest & greatest in a few minutes. The "maintenance window" is a
complete replacement of the entire stack. Docker is awesome for this.
Obviously, config and data is kept in persistent volumes so it isn't lost.

Typically I wouldn't recommend using Oracle in Docker. It works. I do it
for demos, but really it's a play thing. I can't imagine doing anything
serious with an Oracle database and Docker. Speaking to other folks, I get
the same vibe from them. Large monolithic applications (Oracle, WebLogic
etc.) don't play too well with Docker. They don't follow the typical
container lifecycle of throw it away and replace with a newer version of
the software.

I've written a bunch of stuff about it here.

https://oracle-base.com/articles/linux/articles-linux#docker

I think that pretty much sums up my opinion on it, but it is just my
opinion. :)

Cheers

Tim...



Other related posts: