Docker-images: Too heavy, too slow...

Created on 8 Aug 2020  路  8Comments  路  Source: oracle/docker-images

Can You explain me why Oracle docker image starts very slow?

I had to create my own image, beacuse i wanted ommit a database creation step.
You can check my repo:
https://github.com/KamilJedrzejuk/oracle18c-xe

I can't use original image with Testcontainers lib in my integration test.
if on the other hand we look at the PostgreSQL is very fasts and light in tests.

Please check nice example
https://kiview.github.io/testcontainers-grails-workshop/ postgresql is less than 300mb...

For me
This is ridiculous:

IMPORTANT: The resulting images will be an image with the Oracle binaries installed. On first startup of the container a new database will be created, the following lines highlight when the database is ready to be used:

#

DATABASE IS READY TO USE!

#
database help wanted more-info-required

Most helpful comment

Note that all of your Docker Hub images are violations of the license to which you agreed when you downloaded the Oracle XE binaries. You are not permitted to redistribute those binaries in any way. I strongly encourage you to remove them from public view before someone from Oracle's legal team detects them and issues a DMCA request for their removal.

All 8 comments

Is anyone who can help?
@gvenzl
?

So I guess problem is solved?

Sorry, I was closing out stale issues and must have closed this one by mistake.

Have you tried using the Prebuild DB example: https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance/samples/prebuiltdb

As for size, that's not something we can do much about. Oracle Database is pretty big. You can try applying the submitted code to create -slim variants from https://github.com/oracle/docker-images/pull/1666 and see if that helps.

Note that all of your Docker Hub images are violations of the license to which you agreed when you downloaded the Oracle XE binaries. You are not permitted to redistribute those binaries in any way. I strongly encourage you to remove them from public view before someone from Oracle's legal team detects them and issues a DMCA request for their removal.

Ok I,ve removed.

Thanks. Let us know if the Prebuilt DB and/or the -slim variants work for your use case too.

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

Was this page helpful?
0 / 5 - 0 ratings