diff --git a/dockerfiles/alpine/is/README.md b/dockerfiles/alpine/is/README.md index 68764d5b..ec57490b 100755 --- a/dockerfiles/alpine/is/README.md +++ b/dockerfiles/alpine/is/README.md @@ -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= --build-arg USER_GROUP_ID= .` + ##### 3. Running the Docker image. - `docker run -it -p 9443:9443 wso2is:5.11.0-alpine` diff --git a/dockerfiles/centos/is/README.md b/dockerfiles/centos/is/README.md index e1690a1a..f71078d7 100755 --- a/dockerfiles/centos/is/README.md +++ b/dockerfiles/centos/is/README.md @@ -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= --build-arg USER_GROUP_ID= .` + ##### 3. Running the Docker image. - `docker run -it -p 9443:9443 wso2is:5.11.0-centos` diff --git a/dockerfiles/ubuntu/is/README.md b/dockerfiles/ubuntu/is/README.md index 6396c858..40ad53ce 100755 --- a/dockerfiles/ubuntu/is/README.md +++ b/dockerfiles/ubuntu/is/README.md @@ -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= --build-arg USER_GROUP_ID= .` + ##### 3. Running the Docker image. - `docker run -it -p 9443:9443 wso2is:5.11.0`