Docker push says "name invalid: Nested repositories are not supported."

3.1k Views Asked by At

$ docker push quay.io/kapilqdocker/repo/mcd:v0.0.1

The push refers to repository [quay.io/kapilqdocker/repo/mcd]
ac245be5b1f2: Retrying in 1 second
a05521c42d34: Retrying in 1 second
586251520418: Retrying in 2 seconds
48eeec1f62af: Retrying in 2 seconds
5bfa1c2bc41d: Retrying in 4 seconds
name invalid: Nested repositories are not supported. Found: kapilqdocker/repo/mcd

Sorry, it could be simple issue. I do not know what mistake is there, I created a repo quay.io/repository/kapilqdocker/repo

same is the result for docker push quay.io/repository/kapilqdocker/repo/mcd:v0.0.1

1

There are 1 best solutions below

0
On

Ran into the same issue. And later figured out each Image becomes a repo. And that repo would have multiple versions for your application. Hence, in your case the below should work.

docker push quay.io/kapilqdocker/mcd