The Dockerfile defines the resources and instructions to build the Docker images with the WSO2 products and runtime configurations.
This is a customized puppet module for Greg which has API Manager Publisher and Store features.
Quick steps to build the WSO2 Governance Registry Publisher Store docker image and run in your local machine
The cloned local copy of WSO2 Dockerfiles will be referred as DOCKERFILES_HOME
.
-
Add product packs and dependencies
- Download and copy JDK 1.7 (jdk-7u80-linux-x64.tar.gz) pack to
<DOCKERFILES_HOME>/common/provision/default/files
. - Download the WSO2 Governance Registry zip file (http:https://wso2.com/products/governance-registry/).
- Install API Manager Publisher and Store features in Greg. (Documentation)
- Copy wso2greg-5.1.0.zip file to
<DOCKERFILES_HOME>/common/provision/default/files
.
- Download and copy JDK 1.7 (jdk-7u80-linux-x64.tar.gz) pack to
-
Build the docker image
- Navigate to
<DOCKERFILES_HOME>/wso2greg-pubstore
. - Execute
build.sh
script and provide the product version../build.sh -v 5.1.0
- Navigate to
-
Docker run
- Navigate to
<DOCKERFILES_HOME>/wso2greg-pubstore
. - Execute
run.sh
script and provide the product version../run.sh -v 5.1.0
- Navigate to
-
Access management console
- To access the management console, use the docker host IP and port 9443.
https://<DOCKER_HOST_IP>:9443/carbon
- To access the management console, use the docker host IP and port 9443.
-
[Introduction] (https://docs.wso2.com/display/DF120/Introduction)
-
[Building docker images] (https://docs.wso2.com/display/DF120/Building+Docker+Images)
-
[Running docker images] (https://docs.wso2.com/display/DF120/Running+WSO2+Docker+Images)