Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tharikaGitHub committed Feb 7, 2022
1 parent ac34d36 commit 77b3a4c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions dockerfiles/jdk8/alpine/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ git clone https://github.com/wso2/docker-apim.git

- Navigate to `<AM_DOCKERFILE_HOME>` directory. <br>
Execute `docker build` command as shown below.
+ `docker build -t wso2am:4.0.0-alpine .`
+ `docker build -t wso2am:4.0.0-alpine-jdk8 .`

> By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product.
##### 3. Running the Docker image.

- `docker run -it -p 9443:9443 wso2am:4.0.0-alpine`
- `docker run -it -p 9443:9443 wso2am:4.0.0-alpine-jdk8`

> Here, only port 9443 (HTTPS servlet transport) has been mapped to a Docker host port.
You may map other container service ports, which have been exposed to Docker host ports, as desired.
Expand Down Expand Up @@ -62,7 +62,7 @@ chmod o+r <SOURCE_CONFIGS>/deployment.toml
docker run \
-p 9444:9444 \
--volume <SOURCE_CONFIGS>/deployment.toml:<TARGET_CONFIGS>/deployment.toml \
wso2am:4.0.0-alpine
wso2am:4.0.0-alpine-jdk8
```

> In here, <TARGET_CONFIGS> refers to /home/wso2carbon/wso2am-4.0.0/repository/conf folder of the container.
Expand Down
6 changes: 3 additions & 3 deletions dockerfiles/jdk8/centos/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ git clone https://github.com/wso2/docker-apim.git

- Navigate to `<AM_DOCKERFILE_HOME>` directory. <br>
Execute `docker build` command as shown below.
+ `docker build -t wso2am:4.0.0-centos .`
+ `docker build -t wso2am:4.0.0-centos-jdk8 .`

> By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product.
##### 3. Running the Docker image.

- `docker run -it -p 9443:9443 wso2am:4.0.0-centos`
- `docker run -it -p 9443:9443 wso2am:4.0.0-centos-jdk8`

> Here, only port 9443 (HTTPS servlet transport) has been mapped to a Docker host port.
You may map other container service ports, which have been exposed to Docker host ports, as desired.
Expand Down Expand Up @@ -63,7 +63,7 @@ chmod o+r <SOURCE_CONFIGS>/deployment.toml
docker run \
-p 9444:9444 \
--volume <SOURCE_CONFIGS>/deployment.toml:<TARGET_CONFIGS>/deployment.toml \
wso2am:4.0.0-centos
wso2am:4.0.0-centos-jdk8
```

> In here, <TARGET_CONFIGS> refers to /home/wso2carbon/wso2am-4.0.0/repository/conf folder of the container.
Expand Down
6 changes: 3 additions & 3 deletions dockerfiles/jdk8/ubuntu/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ git clone https://github.com/wso2/docker-apim.git

- Navigate to `<AM_DOCKERFILE_HOME>` directory. <br>
Execute `docker build` command as shown below.
+ `docker build -t wso2am:4.0.0 .`
+ `docker build -t wso2am:4.0.0-jdk8 .`

> By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product.
##### 3. Running the Docker image.

- `docker run -it -p 9443:9443 wso2am:4.0.0`
- `docker run -it -p 9443:9443 wso2am:4.0.0-jdk8`

> Here, only port 9443 (HTTPS servlet transport) has been mapped to a Docker host port.
You may map other container service ports, which have been exposed to Docker host ports, as desired.
Expand Down Expand Up @@ -62,7 +62,7 @@ chmod o+r <SOURCE_CONFIGS>/deployment.toml
docker run \
-p 9444:9444 \
--volume <SOURCE_CONFIGS>/deployment.toml:<TARGET_CONFIGS>/deployment.toml \
wso2am:4.0.0
wso2am:4.0.0-jdk8
```

> In here, <TARGET_CONFIGS> refers to /home/wso2carbon/wso2am-4.0.0/repository/conf folder of the container.
Expand Down

0 comments on commit 77b3a4c

Please sign in to comment.