Follow the steps given below run a WSO2 product as a service on Private PaaS, on Docker:
Copy the respective product pack in the
.zip
format to thepacks
folder, which is in the/etc/puppet/modules/wso2installer/files/<SERVER_NAME>
directory.
Example: When configuring ESB navigate to the/etc/puppet/modules/wso2installer/files/wso2esb481/packs
directory.You can download the product pack from the respective products download page.
Example: Download ESB from here.
Run
build.sh
file to build the docker image.This will copy the plugins and template module to the docker image.
./build.sh
- List docker images.
docker images
Example response format: If you successfully build the Docker image, you will get the following as a response:
wso2/das 3.0.0 ac57800e96c2 2 minutes ago 777.6 MB
Login to each Kubernetes minion node and pull your docker image.
Example: Execute the following command to pull the docker image with the docker image IDwso2/esb:4.8.1
cd <KUBERNETES-VAGRANT-SETUP-FOLDER> vagrant ssh node-01 docker pull wso2/esb:4.8.1 vagrant ssh node-02 docker pull wso2/esb:4.8.1