Skip to content

[portus] Unable to push to registry v. 2.0.5 #46

@ntwrkguru

Description

@ntwrkguru

Unable to push to the registry on a fresh install of Portus (v. 2.0.5). Looks like it's attempting to push using the v1 API.

App 152 stderr: Started PUT "/v1/repositories/ssteiner/busybox/" for 172.29.98.178 at 2017-03-15 13:09:42 +0000

On the client side, here is the reproduction (sanitized as needed):

% docker tag busybox:latest registry.example.com:443/ssteiner/busybox:latest
% docker push registry.example.com:443/ssteiner/busybox:latest
The push refers to a repository [registry.example.com:443/ssteiner/busybox]
c0de73ac9968: Preparing 
Error: Status 404 trying to push repository ssteiner/busybox: ""

Client information:
Docker for Mac-

r$ docker version
Client:
 Version:      17.03.0-ce
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   60ccb22
 Built:        Thu Feb 23 10:40:59 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      17.03.0-ce
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   3a232c8
 Built:        Tue Feb 28 07:52:04 2017
 OS/Arch:      linux/amd64
 Experimental: true

docker-machine-

% docker version
Client:
 Version:      17.03.0-ce
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   60ccb22
 Built:        Thu Feb 23 10:40:59 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      17.03.0-ce
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   3a232c8
 Built:        Tue Feb 28 07:52:04 2017
 OS/Arch:      linux/amd64
 Experimental: false

Server-side:

$ docker version
Client:
 Version:      17.03.0-ce
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   60ccb22
 Built:        Thu Feb 23 10:57:47 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.03.0-ce
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   60ccb22
 Built:        Thu Feb 23 10:57:47 2017
 OS/Arch:      linux/amd64
 Experimental: false
  • I've tried specifying :443 or omitting :443 with the same results
  • I've tried using both Docker for Mac and docker-machine with the same results

Any ideas?

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