DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  DataPower in Docker

    Posted Tue February 16, 2021 11:34 AM

    Hello,

    Datapower in Docker using Windows 10 Enterprse

    I am trying to run Ibm datapower (ibmcom/datapower) image using the command (docker run -it …) and get the following error message

    “Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?”

    Command used to start from Windows powershell.

    docker run -it --privileged -v $PWD/config:/drouter/config -v $PWD/local:/drouter/local -e DATAPOWER_ACCEPT_LICENSE=true -e DATAPOWER_INTERACTIVE=true -p 9099:9099 --name DataPower docker pull ibmcom/datapower:2018.4.1.8r.315390r

    My daemon is running in “tcp://localhost:2375” , but not sure why it is connecting to “tcp://docker:2375”

    How do I change to connect to daemon in “tcp://localhost:2375” instead of “tcp://docker:2375”

    I believe this is the issue but not sure. Any help is much appreciated.

    Thanks,



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: DataPower in Docker

    Posted Thu March 04, 2021 12:25 AM

    Hi, you need to run this command first:

    docker pull ibmcom/datapower

    This will download and install the DataPower Docker container, and you only run this command once.

    After that, use the following command to launch the 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 ibmcom/datapower

    See this article for more help:

    https://www.ibm.com/support/knowledgecenter/en/SS9H2Y_7.7.0/com.ibm.dp.doc/virtual_runningdockerimage.html



    #DataPower
    #Support
    #SupportMigration