Giter Club home page Giter Club logo

Comments (8)

stubbsd avatar stubbsd commented on August 26, 2024

Not sure how you're using it. I when running it on Kubernetes I needed to mount a volume at /opt/data as the system couldn't write to that location otherwise.

from docker-registry-ui.

danielezer avatar danielezer commented on August 26, 2024

I am using it with a docker-compose file.
It should be able to write to that directory even without a volume. Do you think this is a permissions issue?

from docker-registry-ui.

roman-vynar avatar roman-vynar commented on August 26, 2024

You need to mount any folder to the container’s /opt/data so the ui can write sqlitedb file. Also container runs from user nobody which should be able to write to the mounted folder.

from docker-registry-ui.

roman-vynar avatar roman-vynar commented on August 26, 2024

If you don’t mount a folder to /opt/data the sqlite file will be written locally within container and this means you can’t run it with —read-only option.

from docker-registry-ui.

danielezer avatar danielezer commented on August 26, 2024

ok, thank you!

from docker-registry-ui.

rvernica avatar rvernica commented on August 26, 2024

Might be good to add this to the README.

from docker-registry-ui.

roman-vynar avatar roman-vynar commented on August 26, 2024

@rvernica I added a week ago.

from docker-registry-ui.

goelprateek avatar goelprateek commented on August 26, 2024

Hi roman-vynar,
I am getting following error "events.event_listener - ERROR - Error creating a table: unable to open database file" even after mounting a folder with permission 777.

from docker-registry-ui.

Related Issues (20)

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.