Skip to content

Docker Support Road Map #28

@aljones15

Description

@aljones15

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions