Skip to content

docker-compose up fails (authentication required at docker.wso2.com) #73

@monkeypants

Description

@monkeypants

Description:
instructions from README to docker-compose up fail with authentication error on https://docker.wso2.com/v2/wso2sp-editor/manifests/4.3.0

Affected Product Version:
Current master branch (did not try any others)

Steps to reproduce:
Starting with a fresh checkout of the public docker-sp repository, and as an unprivileged user (not authenticated to the WSO2 web site):

  • cd docker-compose/editor-worker-dashboard
  • docker-compose up
  • watch the mysql image get pulled without problems
  • watch the next image (wso2sp-editor) fail due to authorisation problems
Pulling editor (docker.wso2.com/wso2sp-editor:4.3.0)...
ERROR: Get https://docker.wso2.com/v2/wso2sp-editor/manifests/4.3.0: unauthorized: authentication required

Confirming with a browser, GET https://docker.wso2.com/v2/wso2sp-editor/manifests/4.3.0 results on HTTP 401 response with an HTML page containing this body

{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"wso2sp-editor","Action":"pull"}]}]}

Work around:
replacing all instances of docker.wso2.com with wso2 in the docker-compose file image specifications (thus using images hosted on dockerhub) seems to work.

Metadata

Metadata

Assignees

No one assigned

    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