Coder Social home page Coder Social logo

Comments (4)

nmadhok avatar nmadhok commented on August 30, 2024

@cdarwin Would it be possible for you to submit a Pull Request for this? Thanks for filing the issue!

from docker-formula.

cdarwin avatar cdarwin commented on August 30, 2024

Yes, I created these issues to outline the improvements I intend to make. Feedback welcome.

from docker-formula.

Arabus avatar Arabus commented on August 30, 2024

I'd definately support that request - using a local filebased registry comes in handy. Especially if you have docker containers you do not want to share with amazon or the nsa ;-)

Should not be that hard, just some jinja magic in the upstart script. Though if you want to support more than just debian & ubuntu you might want to move that docker run ... snippet to a general shell script or even a full blown init script.

from docker-formula.

tiadobatima avatar tiadobatima commented on August 30, 2024

@cdarwin @Arabus

With #40, the registry now becomes a lot more configurable.

For registry 2.x:

registry:
  lookup:
    version: 2
    runoptions:
      - "-e REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/somewhere"
      - "-v /my-registry-dir:/somewhere"

For registry < 2 you'd need to find out what the environment variables are. I made sure the formula is backwards compatible with the old pillar configs, ie when we don't specify version, but I haven't put much effort in testing the versioned configs with the old registry 0.9.x. It should work, but... ;)

Let me know if you find any problem

from docker-formula.

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.