Skip to content

Commit

Permalink
Update instructions to solve network issue in building containers
Browse files Browse the repository at this point in the history
  • Loading branch information
DinithHerath committed Jun 17, 2024
1 parent 114892f commit 273e6e0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions dockerfiles/alpine/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/centos/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/jdk11/alpine/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/jdk11/centos/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/jdk11/ubuntu/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 273e6e0

Please sign in to comment.