From 273e6e0f4bb6978b45c7bc31658bbe9c9ae3b305 Mon Sep 17 00:00:00 2001 From: Dinith Herath Date: Mon, 17 Jun 2024 15:44:37 +0530 Subject: [PATCH] Update instructions to solve network issue in building containers --- dockerfiles/alpine/apim/README.md | 1 + dockerfiles/centos/apim/README.md | 1 + dockerfiles/jdk11/alpine/apim/README.md | 1 + dockerfiles/jdk11/centos/apim/README.md | 1 + dockerfiles/jdk11/ubuntu/apim/README.md | 1 + 5 files changed, 5 insertions(+) diff --git a/dockerfiles/alpine/apim/README.md b/dockerfiles/alpine/apim/README.md index 149c9396..e00da583 100755 --- a/dockerfiles/alpine/apim/README.md +++ b/dockerfiles/alpine/apim/README.md @@ -42,6 +42,7 @@ docker buildx build --platform linux/amd64 -t wso2am:4.2.0-alpine . ``` docker run -it -p 9443:9443 -p 8243:8243 wso2am:4.2.0-alpine ``` +> If you encounter issue related to downloading the product pack from hosted webserver, use the IP address of the network interface instead of `localhost` or `127.0.0.1` in the `WSO2_SERVER_DIST_URL`. > Here, only port 9443 (HTTPS servlet transport) and port 8243 (Passthrough or NIO HTTPS transport) have been mapped to Docker host ports. You may map other container service ports, which have been exposed to Docker host ports, as desired. diff --git a/dockerfiles/centos/apim/README.md b/dockerfiles/centos/apim/README.md index 1ab9eb11..e3ff4d9d 100755 --- a/dockerfiles/centos/apim/README.md +++ b/dockerfiles/centos/apim/README.md @@ -29,6 +29,7 @@ git clone https://github.com/wso2/docker-apim.git ``` docker build -t wso2am:4.2.0-centos . ``` +> If you encounter issue related to downloading the product pack from hosted webserver, use the IP address of the network interface instead of `localhost` or `127.0.0.1` in the `WSO2_SERVER_DIST_URL`. > By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product. diff --git a/dockerfiles/jdk11/alpine/apim/README.md b/dockerfiles/jdk11/alpine/apim/README.md index 213265ba..a16df405 100755 --- a/dockerfiles/jdk11/alpine/apim/README.md +++ b/dockerfiles/jdk11/alpine/apim/README.md @@ -28,6 +28,7 @@ git clone https://github.com/wso2/docker-apim.git ``` docker build -t wso2am:4.2.0-alpine-jdk11 . ``` +> If you encounter issue related to downloading the product pack from hosted webserver, use the IP address of the network interface instead of `localhost` or `127.0.0.1` in the `WSO2_SERVER_DIST_URL`. > By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product. diff --git a/dockerfiles/jdk11/centos/apim/README.md b/dockerfiles/jdk11/centos/apim/README.md index c75fec87..2bb22e28 100755 --- a/dockerfiles/jdk11/centos/apim/README.md +++ b/dockerfiles/jdk11/centos/apim/README.md @@ -29,6 +29,7 @@ git clone https://github.com/wso2/docker-apim.git ``` docker build -t wso2am:4.2.0-centos-jdk11 . ``` +> If you encounter issue related to downloading the product pack from hosted webserver, use the IP address of the network interface instead of `localhost` or `127.0.0.1` in the `WSO2_SERVER_DIST_URL`. > By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product. diff --git a/dockerfiles/jdk11/ubuntu/apim/README.md b/dockerfiles/jdk11/ubuntu/apim/README.md index c3d54e05..fbd0b35c 100755 --- a/dockerfiles/jdk11/ubuntu/apim/README.md +++ b/dockerfiles/jdk11/ubuntu/apim/README.md @@ -35,6 +35,7 @@ docker build -t wso2am:4.2.0-jdk11 . ``` docker run -it -p 9443:9443 -p 8243:8243 wso2am:4.2.0-jdk11 ``` +> If you encounter issue related to downloading the product pack from hosted webserver, use the IP address of the network interface instead of `localhost` or `127.0.0.1` in the `WSO2_SERVER_DIST_URL`. > Here, only port 9443 (HTTPS servlet transport) and port 8243 (Passthrough or NIO HTTPS transport) have been mapped to Docker host ports. You may map other container service ports, which have been exposed to Docker host ports, as desired.