I’m trying to push to the docker hub registry and it is constantly failing.
The error is:
unknown: <html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
It appears to complete pushing must layers except for one that I see it constantly retrying. After a few retries and once all other layers have pushed the ‘push’ command then fails with above 404.
I don’t run a proxy (working from home with a simple internet connection).
I think this layer is fairly large 900MB and change.
I’ve tried running with the -D debug switch by no additional information is provided.
I’ve tried splitting the large layer into two layers (779MB and 155MB) but I’m still getting the same failure. I"m unclear on which layer is actually causing the issue as the history command does’t display layer ids.
I’ve also tried rebuilding with --no-cache with the same result.