Skip to content

[Bug]: AuthToken Authentication not working with Container Registry for Oracle #240

Closed
apple/containerization
#155

Description

@shadabshaukat

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

docker.io container registry logs in, but container-registry.oracle.com returns HTTP 401 error

$ container registry login docker.io
Provide registry username docker.io: s*********t
Provide registry password:
Login succeeded

$ container registry login container-registry.oracle.com
Provide registry username container-registry.oracle.com: s*******t@gmail.com
Provide registry password:
Error: HTTP request to https://container-registry.oracle.com/v2/ failed with response: 401 Unauthorized

Current behavior

docker.io container registry logs in, but container-registry.oracle.com returns HTTP 401 error

Expected Behavior

Login succeeded

Environment

- OS:  MacOS 26 Beta
- Xcode: Version 26.0 beta (17A5241e)
- Container: Container CLI version 0.1.0

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. self-assigned this
    on Jun 19, 2025
  2. adityaramani commented on Jun 19, 2025

    @adityaramani
    Contributor

    Can repro this - will investigate

  3. shadabshaukat commented on Jun 24, 2025

    @shadabshaukat
    Author

    Will the fix be rolled out in a new release? How can I fix this for my existing 0.1.0 container release @adityaramani

  4. shadabshaukat commented on Jun 29, 2025

    @shadabshaukat
    Author

    Just tested this with 0.2.0 and it is fixed in this version. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions