Re: Reduce the size of docker images for oracle database

From: Jacek Gębal <jgebal_at_gmail.com>
Date: Wed, 29 Apr 2020 12:19:09 +0100
Message-ID: <CACQ9E3t6BhyM1SGf-uzVFHPXftBh6OAiQ=zTrRwJ=__TLfmt5A_at_mail.gmail.com>



We're using slimmed images for utPLSQL.

From 11gR2 to 19c
They work fine for our needs though we've removed some things that might be needed in some other cases.
See:

https://github.com/utPLSQL/docker-scripts

We use CDB-only to make DB even smaller. If you look at how DB is composed you'll see all the things we removed.

Hope this helps
Jacek

On Tue, 28 Apr 2020, 23:50 sachin pawar, <getsach_at_gmail.com> wrote:

>
> 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_at_gmail.com>
> wrote:
>
>> Hi Listers,
>> I am researching on squash option to reduce this apr 2020 RU size to few
>> GBs only .
>>
>> [oracle_at_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
>>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Apr 29 2020 - 13:19:09 CEST

Original text of this message