Reduce the size of docker images for oracle database

  • From: kunwar singh <krishsingh.111@xxxxxxxxx>
  • To: ORACLE-L <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 28 Apr 2020 17:01:34 -0400

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: