Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

specify http timeout in docker_config.json #2765

Open

Description

@Sirorezka

allow to read http timeout config from docker_config.json

My pushes of images into registry always fail with http/timeout when waiting for the response from a remote server on confirmation that the layer was pushed. Env variables doesn't fix the issues.

Here is my cmd:

DOCKER_CLIENT_TIMEOUT=600 COMPOSE_HTTP_TIMEOUT=600 docker push custom_image

Here is the error:

51bcd6d8d7cf: Layer already exists 
034a7cdbb177: Pushed 
4a78ddf99b06: Pushed 
bbb4a612a597: Pushed 
395aec961b1d: Pushed 
8f634e8a81ba: Pushed 
41df83d30e90: Pushed 
e4529521fe7d: Pushed 
c7a97b616c1b: Pushed 
d8e7e92a01a3: Pushed 
10a2e7f3aaf5: Pushed 
27225f89b294: Pushed 
403f3c48ba24: Pushing [==================================================>]  1.808GB/1.808GB
failed commit on ref "layer-sha256:403f3c48ba24a7afc6c7540b24c1e285b1c143a013a04e6e35666e0de4aa4766": failed to do request: Put "https://***/v2/4f0c9f7e-6f72-48c3-ae6c-f11d6c8ed16f/harbor-access-ui/blobs/uploads/5eba28f6-df2a-47e6-bada-3e9a0a349629?_state=MdZr4-qpaKPsnVFB20kroysoOZKvHIE2cT0fWqOOW-V7Ik5hbWUiOiI0ZjBjOWY3ZS02ZjcyLTQ4YzMtYWU2Yy1mMTFkNmM4ZWQxNmYvaGFyYm9yLWFjY2Vzcy11aSIsIlVVSUQiOiI1ZWJhMjhmNi1kZjJhLTQ3ZTYtYmFkYS0zZTlhMGEzNDk2MjkiLCJPZmZzZXQiOjAsIlN0YXJ0ZWRBdCI6IjIwMjYtMTAtMjRUMTE6MjE6NTUuODc1OTU3NjU0WiJ9&digest=sha256%3A403f3c48ba24a7afc6c7540b24c1e285b1c143a013a04e6e35666e0de4aa4766": net/http: timeout awaiting response headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions