Re: Reduce the size of docker images for oracle database

  • From: sachin pawar <getsach@xxxxxxxxx>
  • To: Krish Singh <krishsingh.111@xxxxxxxxx>
  • Date: Tue, 28 Apr 2020 18:49:28 -0400

I haven't tested, but this article from Franck may help you.

https://blog.dbi-services.com/the-size-of-oracle-home-from-9gb-to-600mb/

Rgds,
Sachin Pawar
https://twitter.com/sach_pwr


On Tue, Apr 28, 2020 at 5:02 PM kunwar singh <krishsingh.111@xxxxxxxxx>
wrote:

Hi Listers,
I am researching on squash option to reduce this apr 2020 RU size to few
GBs only .

[oracle@testserver testdocker]$ docker image ls
REPOSITORY          TAG                        IMAGE ID            CREATED
            SIZE
oracle/database     12.2-ee-12.2.0.1-Apr2020   10sdsdfdsf21        24
minutes ago      11.9GB
oracle/database     12.2-ee                    614d36d3fzza        22
hours ago        6.24GB

Can i reduce the size of this Apr2020 ru image to like 2gb with a
pre-built database or something if my plan is to run just few queries in
the image for multiple users. So maybe the build of base image (
12.2.0.1-ee ) will have to be done .

I read squash option , but i am not sure if i can run squash on the April
2020 image in order to do that.

--
Cheers,
Kunwar

Other related posts: