'docker push …' from Bitbucket Pipelines is very slow to my self-hosted docker registry

I am using Bitbucket Pipelines to build my docker image, and push to my self-hosted docker registry, which is located in China.

Is there any way I can speed up docker push from Bitbucket Pipelines. Otherwise, this features is almost useless.

  • Bitbucket Pipelines - mvn clean install not working with JavaFX
  • Bitbucket Pipelines - access to another container
  • Protractor e2e tests with bitbucket pipelines
  • pipelines fail with custom docker image
  • Setting up a PHP decent development environment
  • Clone private git repo with dockerfile
  • Docker image: virtual size vs real size
  • How to create Docker image,Dockerfile of LAravel application from existing docker environment for Laravel
  • View Tensorboard via Chorme on Windows
  • change bluemix docker default subnet to a different value?
  • Docker container A dies after excuting query(insert/update) in cassandra running as another docker service B
  • Make 2 volumes in docker gcc and java
  • One Solution collect form web for “'docker push …' from Bitbucket Pipelines is very slow to my self-hosted docker registry”

    it seems doubtful that much can be done to alleviate slow pushes given 1) bitbucket pipeline and 2) china registry constraints. you have at least three options if you could lift these constraints:

    1. throw out bitbucket pipelines in favor of self-hosted source control management (gitlab/bitbucket server) and a self-hosted CI system that does pipelines as code (there are many to choose from these days, including jenkins)
    2. throw out your self-hosted registry and use docker hub
    3. self-host your registry in the US (bitbucket cloud and pipelines is probably US East?)
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.