aiodocker icon indicating copy to clipboard operation
aiodocker copied to clipboard

Add support for Docker context endpoints

Open jrfk opened this issue 2 months ago • 1 comments

What do these changes do?

Add support for Docker context endpoints.

  • Read files such as ~/.docker/context/meta.json and set the socket
    • DOCKER_CONTEXT will be prioritized if it is set.

Are there changes in behavior for the user?

No impacts to existing users.

Related issue number

resolves #811

Checklist

  • [x] I think the code is well written
  • [ ] Unit tests for the changes exist
  • [ ] Documentation reflects the changes
  • [x] If you provide code modification, please add yourself to CONTRIBUTORS.txt
    • The format is <Name> <Surname>.
    • Please keep alphabetical order, the file is sorted by names.
  • [x] Add a new news fragment into the changes folder
    • name it <issue_id>.<type> for example (588.bug)
    • if you don't have an issue_id change it to the pr id after creating the pr
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: "Fix issue with non-ascii contents in doctest text files."

jrfk avatar May 20 '24 21:05 jrfk