oras
oras copied to clipboard
Remove dependency on docker CLI
oras CLI leverage github.com/docker/cli for reading / writing docker config file for login and logout. It is possible that using an old version of oras CLI with a new version of docker CLI at the same time may cause loss on some config fields.
@shizhMSFT Does it mean ORAS CLI will need to implement its own authentication system?
@shizhMSFT Does it mean ORAS CLI will need to implement its own authentication system?
No, the new implementation will still be compatible with the config.json of the docker CLI.
Pending on https://github.com/oras-project/oras-credentials-go
Done?
There is an indirect dependency https://github.com/oras-project/oras/blob/main/go.mod#L19
ORAS CLI still have deps on github.com/docker/docker-credential-helpers v0.7.0. Resolving this issue is depending on https://github.com/oras-project/oras-credentials-go/issues/67 and merging of https://github.com/oras-project/oras-credentials-go/pull/68