简体   繁体   中英

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

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 ?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM