Giter VIP home page Giter VIP logo

Comments (9)

bofm avatar bofm commented on May 26, 2024

This is OK. The database is being created. It must restart one or maybe two times while dbca is creating the database. What happens after?

from docker-oracle12c.

bofm avatar bofm commented on May 26, 2024

Also the full log would be helpful.

from docker-oracle12c.

wwarlock avatar wwarlock commented on May 26, 2024

As you see I'm creating without data volume, so as I understood from your answer the image can't save it state, so it'll shutdown on every container creation.

from docker-oracle12c.

wwarlock avatar wwarlock commented on May 26, 2024

I think that information should be in the README with the info which folder needed for persistence.

from docker-oracle12c.

wwarlock avatar wwarlock commented on May 26, 2024

The logs made by the command docker logs oracle_database > docker-oracle-db.log.txt

docker-oracle-db.log.txt

from docker-oracle12c.

bofm avatar bofm commented on May 26, 2024

As you see I'm creating without data volume, so as I understood from your answer the image can't save it state, so it'll shutdown on every container creation.

If the container is stopped you can start it. The data will be there inside the container in /data.

Regarding the shutdown on first run - I'll check that.

from docker-oracle12c.

wwarlock avatar wwarlock commented on May 26, 2024

Yes, I understand that I can restart it and I've tried to do that and failed by some reason.
I'll try to recreate the situation to show the error but not now.

from docker-oracle12c.

bofm avatar bofm commented on May 26, 2024

Tested on a clean installation. No issues on my side. After dbca had finished the DB creation the database remained up for more than 1 hour.

Edit: the command I used: docker run -it --shm-size 1GB --name oracle_database -p 1521:1521 bofm/oracle12c. After I had sent ctrl+c the database was properly shut down and the container stopped.

log after the build has finished: (edit: cannot publish the logs due to copyright.)

Could you please describe the concrete steps to reproduce the problem?

from docker-oracle12c.

wwarlock avatar wwarlock commented on May 26, 2024

I've maked the same as you.

  1. make all
  2. docker run
  3. waiting and watching log
  4. trying to connect and using DB (just standard operations: create user, create table, select from dual)
  5. after some time DB became inaccessible (see logs I've sent)
  6. docker stop && docker rm
  7. Several tries from the step 2 with the same result

I'll going to retry on another machine but I need some time because that machine slower and also needed to free some space on the hard drive.

from docker-oracle12c.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.