Giter VIP home page Giter VIP logo

Comments (3)

orlangure avatar orlangure commented on June 10, 2024

Hi @andrewggg1 and sorry for taking so long to address this.

Right now there is no "concept" of a registry, because every preset defines its own image which includes docker registry URL. Some images are already not hosted on docker.io (like mssql).

As a quick workaround, before anybody gets to work on this issue, I can suggest writing a wrapper Preset for whatever presets you require in tests, and implementing Image method to return your custom registry hosted image. It's very little code, and you will still enjoy all the new features of the wrapped presets if ever added.

As a more generic solution, I only can think of using some string manipulation magic that replaces docker.io or any other registry host name by the provided URL from a new Options function. It would be the users' job to verify that the provided registry actually hosts the requested image.

I'm out of capacity in the near future to work on this, but I am available to review code and release a new version if you or anybody else is willing to take on the generic solution part. Would you like to work on this?

from gnomock.

mingmingshiliyu avatar mingmingshiliyu commented on June 10, 2024

what should I do if I don`t want to use docker,but use the client itself? just skip start function?

from gnomock.

orlangure avatar orlangure commented on June 10, 2024

Hi @mingmingshiliyu, sorry, I don't understand the question. Which client do you want to use?

from gnomock.

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.