This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 55ab3c193c6c Update release-process.md
55ab3c193c6c is described below
commit 55ab3c193c6c297746817eee5c3b3480532c69c5
Author: Lari Hotari <[email protected]>
AuthorDate: Thu Mar 7 08:14:08 2024 -0800
Update release-process.md
Add more details about docker image building for branch-2.11/branch-2.10
---
contribute/release-process.md | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/contribute/release-process.md b/contribute/release-process.md
index bcf234640237..da3ad61861fc 100644
--- a/contribute/release-process.md
+++ b/contribute/release-process.md
@@ -276,9 +276,12 @@ After that, the following images will be built and pushed
to your own DockerHub
#### Release before Pulsar 3.0
-This is supported only on Linux amd64 platforms. On Mac Apple Silicon, you can
run Linux amd64 in a virtual machine and use `export
DOCKER_HOST=tcp://x.x.x.x:port` to use the Linux VM for building the docker
image. Don't forward the TCP/IP connection over an unencrypted channel. You
could also install the [free VMWare Fusion
Player](https://customerconnect.vmware.com/evalcenter?p=fusion-player-personal-13)
to create VMs with [Vagrant](https://www.vagrantup.com/) and it's [support for
VMW [...]
+This is supported only on Intel platforms. On Mac Apple Silicon, you can run
Linux amd64 in a virtual machine or a physical machine outside the Apple laptop
and use `export DOCKER_HOST=tcp://x.x.x.x:port` to use use the remote docker
engine for building the docker image. Don't forward the TCP/IP connection over
an unencrypted channel.
+You can start a socket proxy with `socat
TCP-LISTEN:2375,bind=0.0.0.0,reuseaddr,fork UNIX-CLIENT:/var/run/docker.sock`
inside the Linux Intel machine.
+For running the Linux Intel VM on Mac Apple Silicon, you could use `limactl
create --name=linux_amd64 --rosetta --arch x86_64` to create a VM using
https://lima-vm.io/.
+However, it is simpler to do the release on a Linux arm64 / x86_64 VM directly.
-Run the following commands on a Linux machine (or with Mac where DOCKER_HOST
points to a Linux machine):
+Run the following commands on a Linux machine (or with Mac where DOCKER_HOST
points to a Linux amd64/Intel machine):
```shell
cd $PULSAR_HOME/docker