Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Container:  A running virtual machine, started from an image.

 

User Experience

docker build -t docker.synapse.org/syn1234567/myrepo .

docker login docker.synapse.org

username:  mysynuser

password:  xxxxxx

docker push docker.synapse.org/syn1234567/myrepo

Will now appear in Synapse under (Project or Folder) syn1234567.   See https://app.moqups.com/bruce.hoff@sagebase.org/HY2x6MNWXo/edit/page/a406bb9f1

Cannot be moved or renamed.

Once shared with other users, they can:

docker pull docker.synapse.org/syn1234567/myrepo

docker tag docker.synapse.org/syn1234567/myrepo docker.synapse.org/syn9876543/someotherrepo

docker push docker.synapse.org/syn9876543/someotherrepo

Now it will appear under syn9876543

Docker Repository Schema:

...

DescriptionURIMethodRequest ParametersRequest BodyResponse Body

Authorization Request

https://docs.docker.com/registry/spec/auth/jwt/

https://tools.ietf.org/html/rfc6750#section-3

/bearerTokenGETservice, scope--BearerToken
 Post Get Docker password for a Docker registry event. This will create or delete repository objects in Synapse. /registryEventPOST--Event (System will generate automatically.)/dockerPasswordGETregistryHost--Password
Invalidate password for a Docker registry./dockerPasswordDELETEregistryHost----

 

org.sagebionetworks.repo.model.oauth.BearerToken: defined here: https://docs.docker.com/registry/spec/auth/jwt/

...