How to install Data Power on Docker
First, Setup Docker on Ubuntu
Step 1:
Open terminal and apply below commands to Updates package information and upgrades installed packages.
sudo apt update & sudo apt upgrade -y
Step 2:
Install docker on Ubuntu by running below commands
sudo apt install docker.io -y
sudo systemctl start docker
docker --version
Second, Pull Data power image from Docker registry:
Step 1:
Create 3 folders such as config,locals,cert.
step 2:
pull the image and run it inside the container.
docker image pull icr.io/integration/datapower/datapower-limited:10.0.3.0
#!/bin/bash
docker run -it
-v $PWD/config:/opt/ibm/datapower/drouter/config
-v $PWD/local:/opt/ibm/datapower/drouter/local
-v $PWD/cert:/opt/ibm/datapower/root/secure/usr/certs
-e DATAPOWER_ACCEPT_LICENSE=true
-e DATAPOWER_INTERACTIVE=true
-p 9090:9090
-p 5550:5550
-p 9022:5554
-p 8000-8010:8000-8010
--name idg 5ae02384890f
try to access the application from webgui
if you want to enter data power CLI use below command
docker attach idg
EX:
show version
show clock
show int
show route
show domains
co
dir config:
write mem
If you want SSH access, you need to map host port 9022 to container port 22:
ssh -p 9022 admin@localhost
Comments
Join the discussionNo comments yet. Be the first to comment.