Running Datapower on Docker using VM

Very first step is install the VM on your machine, so that you could be able to run your target operating system as per your choice.



After starting the VM go to your port forwarding setting as below and set the port forwarding on NAT for the ports used if you want access the datapower developer interface on your local browser.



Next step is to pull down the DataPower docker image from Github/DockerHub
Login to your docker container and run the below command to pull the latest docker image





docker pull ibmcom/datapower:latest
Check the installed imaged on your docker by running the below command (you can download the MQ image as well in the same way)



Next step is to start the docker container:

docker run -it \
   -v $PWD/config:/drouter/config \
   -v $PWD/local:/drouter/local \
   -e DATAPOWER_ACCEPT_LICENSE=true \
   -e DATAPOWER_INTERACTIVE=true \
   -p 9090:9090 \
   -p 9022:22 \
   -p 5554:5554 \
   -p 8000-8010:8000-8010 \
   --name idg \
   ibmcom/datapower

  1. Now enable the Datapower Web GUI development interface that has to be accessed on browser.
  2.  configure; web-mgmt 0 9090 9090;

Now if you need to start it again then you need to start and attach the image that you created idg

docket start idg
docker attach idg

Now open the browser and type the url https://localhost:9090 and login to the Datapower Web GUI. 

default username : admin 
default password : admin

You are done Cheers 👍

0 comments:

My Instagram