This is an automated email from the ASF dual-hosted git repository.

twice pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kvrocks-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 79b2f0c  Add some tips for Docker Buildx. (#131)
79b2f0c is described below

commit 79b2f0c274d340d075749118308277886d7a4892
Author: ColinChamber <[email protected]>
AuthorDate: Mon Jul 31 05:33:26 2023 +0800

    Add some tips for Docker Buildx. (#131)
    
    * Add some tips for Docker Buildx.
    
    * Update community/create-a-release.md
    
    ---------
    
    Co-authored-by: Twice <[email protected]>
---
 community/create-a-release.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/community/create-a-release.md b/community/create-a-release.md
index 1713d9a..5d24742 100644
--- a/community/create-a-release.md
+++ b/community/create-a-release.md
@@ -218,6 +218,18 @@ Docker and Docker Buildx is required for this step. Docker 
Buildx should be bund
 docker buildx build --platform linux/amd64,linux/arm64 --tag 
${your_dockerhub_username}/kvrocks:${release_version} --tag 
${your_dockerhub_username}/kvrocks:latest . --output "type=registry" 
--build-arg MORE_BUILD_ARGS=-j12
 ```
 
+:::info
+
+If you encounter some network problems, you can try the following methods with 
an HTTP proxy.
+
+:::
+
+```shell
+docker buildx create --name ${your_builder_name} --use --driver-opt 
network=host
+docker buildx inspect --bootstrap
+docker buildx build --platform linux/amd64,linux/arm64 --tag 
${your_dockerhub_username}/kvrocks:${release_version} --tag 
${your_dockerhub_username}/kvrocks:latest . --output "type=registry" 
--build-arg MORE_BUILD_ARGS=-j12 --build-arg http_proxy=${your_http_proxy} 
--build-arg https_proxy=${your_https_proxy}
+```
+
 ## Voting
 
 ### Kvrocks community vote

Reply via email to