Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Support Road Map #28

Open
aljones15 opened this issue Mar 20, 2024 · 0 comments
Open

Docker Support Road Map #28

aljones15 opened this issue Mar 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@aljones15
Copy link
Collaborator

aljones15 commented Mar 20, 2024

At a high level:

  1. Docker support can be achieved by allowing people to specify the property docker instead of endpoint in a manifest file
  2. Test suites could run a pre-test function that pulls all the docker images and starts them with a sequential port
  3. The Endpoint class would then test against localhost:port/credentials/issue etc.
{
  "issuers": [{
    "id": "did:key:zFoo#docker",
    "docker": "https://my-docker-image/implementation"
  }]
}

An existing library for running docker images from node exists here: https://www.npmjs.com/package/docker-compose
It includes the ability to pull and run docker images: https://pdmlab.github.io/docker-compose/api.html

Implementations inside of a docker image would need to run with out authorization.
These implementations could then be composed in a localImplementationsConfig.cjs allowing an implementer to create a playlist of sorts for implementations they want to run against.

@aljones15 aljones15 changed the title Docker support Road Map Docker Support Road Map Mar 20, 2024
@aljones15 aljones15 self-assigned this Mar 20, 2024
@aljones15 aljones15 added the enhancement New feature or request label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant