Skip to content

Commit

Permalink
UID and GID update tip added to dockerfile README.md (#295)
Browse files Browse the repository at this point in the history
* UID update tip added to README.md.

(cherry picked from commit e55cbd4)

* UID update tip added to README.md.

(cherry picked from commit b7a4946)

* GID added to the tip.

(cherry picked from commit 0da09da)

* Comments addressed.

(cherry picked from commit 1cbea14)

* UID and GID change tip updated.

(cherry picked from commit c73d16d)

* Comments addressed.

(cherry picked from commit 2c141a1)

* New line added.
  • Loading branch information
ashendes authored Jul 27, 2021
1 parent 8034119 commit 04819a0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dockerfiles/alpine/is/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ git clone https://github.com/wso2/docker-is.git

> By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product.
> Tip - If you require the container to run with a different UID and GID, pass the preferred values of the UID and GID
> as values for build arguments `USER_ID` and `USER_GROUP_ID` when building the image, as shown below. Note
> that setting lower values for the UID and GID is not recommended.
+ `docker build -t wso2is:5.11.0-alpine --build-arg USER_ID=<UID> --build-arg USER_GROUP_ID=<GID> .`
##### 3. Running the Docker image.

- `docker run -it -p 9443:9443 wso2is:5.11.0-alpine`
Expand Down
5 changes: 5 additions & 0 deletions dockerfiles/centos/is/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ git clone https://github.com/wso2/docker-is.git

> By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product.
> Tip - If you require the container to run with a different UID and GID, pass the preferred values of the UID and GID
> as values for build arguments `USER_ID` and `USER_GROUP_ID` when building the image, as shown below. Note
> that setting lower values for the UID and GID is not recommended.
+ `docker build -t wso2is:5.11.0-centos --build-arg USER_ID=<UID> --build-arg USER_GROUP_ID=<GID> .`
##### 3. Running the Docker image.

- `docker run -it -p 9443:9443 wso2is:5.11.0-centos`
Expand Down
5 changes: 5 additions & 0 deletions dockerfiles/ubuntu/is/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ git clone https://github.com/wso2/docker-is.git

> By default, the Docker image will prepackage the General Availability (GA) release version of the relevant WSO2 product.
> Tip - If you require the container to run with a different UID and GID, pass the preferred values of the UID and GID
> as values for build arguments `USER_ID` and `USER_GROUP_ID` when building the image, as shown below. Note
> that setting lower values for the UID and GID is not recommended.
+ `docker build -t wso2is:5.11.0 --build-arg USER_ID=<UID> --build-arg USER_GROUP_ID=<GID> .`
##### 3. Running the Docker image.

- `docker run -it -p 9443:9443 wso2is:5.11.0`
Expand Down

0 comments on commit 04819a0

Please sign in to comment.