Skip to content

[Bug] No useful error message is presented when Docker registry doesn't exist #1

@vitorfhc

Description

@vitorfhc

When running bob push and the image has an inexistent registry Docker retries it several times:

docker push inexistent-repo/image:tag
The push refers to repository [inexistent-repo/image:tag]
64ed87b762b2: Retrying in 1 second 
2c0fb72ca8a6: Retrying in 1 second 
2177fb7bef02: Retrying in 1 second 
3759e3bc07e3: Retrying in 1 second 
81b311630260: Retrying in 1 second 
c85c09c7fd7c: Waiting 
27f852d51452: Waiting 
bb6f8ace7cb4: Waiting 
36ffdceb4c77: Waiting 
EOF

As you can see, at the end it just prints an EOF. Since our build considers only what's returned in the last line, we should improve the log when this happens.

Maybe something like

if lastLine == "EOF" {
  log(better message)
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions