Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s cluster push image internal server error #165

Closed
wychl opened this issue May 27, 2019 · 2 comments
Closed

k8s cluster push image internal server error #165

wychl opened this issue May 27, 2019 · 2 comments
Labels
Documentation invalid This doesn't seem right

Comments

@wychl
Copy link

wychl commented May 27, 2019

$ docker push localhost:30081/images:5.0
The push refers to repository [localhost:30081/images]
76c5d4259e40: Retrying in 1 second
4c8e44b308d0: Retrying in 1 second
dc5ef0c854b4: Retrying in 1 second
03eafa792876: Retrying in 1 second
f99f83132c0a: Retrying in 1 second
6270adb5794c: Waiting
received unexpected HTTP status: 500 Internal Server Error

@wychl
Copy link
Author

wychl commented May 27, 2019

agent log

time="2019-05-27T07:02:13.934588528Z" level=error msg="response completed with error" err.code=unknown err.detail="uploads are disabled" err.message="unknown error" go.version=go1.11.4 http.request.host=registry-backend http.request.id=2962619c-a115-4a71-a59b-ffa53f5dcdcd http.request.method=POST http.request.remoteaddr=172.17.0.1 http.request.uri="/v2/images/blobs/uploads/" http.request.useragent="docker/18.06.2-ce go/go1.10.3 git-commit/6d37f41 kernel/4.15.0 os/linux arch/amd64 UpstreamClient(Docker-Client/18.06.2-ce \(linux\))" http.response.contenttype="application/json; charset=utf-8" http.response.duration=1.47581ms http.response.status=0 http.response.written=0 instance.id=49eef740-6d65-4990-b665-48009ccc801c vars.name=images

@yiranwang52 yiranwang52 added Documentation invalid This doesn't seem right labels May 28, 2019
@yiranwang52
Copy link
Collaborator

Agents cannot handle docker push.

If you use S3 or HDFS as backend, you can push through proxy; If you use another registry as backend, you will need to push to that registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants