How can I upgrade docker container with Oracle 12c to Oracle 19c?

557 views Asked by At

When I create my container base on Oracle 12c image, I use command:

docker run -d -it --name oracleDB -p 1521:1521 store/oracle/database-enterprise:12.2.0.1

Now how can I upgrade this container to Oracle 19c ?

1

There are 1 answers

0
SuperPoney On

You can find Oracle dockerfile and source in their official github repository official github repository. This repo has a 19.3 version.

I think the best solution for your problem is:

  1. backup your 12c data with datapump (expdp)
  2. run a 19c container
  3. import your 12c backup (impdp) in your fresh 19c container.