How to Install WSO2 API Manager in Docker Container

WSO2 API Manager is an open source approach to addressing any spectrum of the API lifecycle, monetization and policy enforcement.

WSO2 API Manager features:

  • Design APIs and gather developers’ feedback before implementing (API First Design). Design can be done from the publishing interface or via importing an existing Swagger 2.0 definition
  • Deploy a prototyped API, provide early access to APIs, and get early feedback
  • Mock API implementation using JavaScript
  • Supports publishing SOAP, REST, JSON, and XML style services as APIs
  • Pre-loaded sample APIs for a hassle-free first experience

Build the WSO2 API Manager Images

Create a Dockerfile and write this sample script:

FROM java:8
MAINTAINER [email protected]

RUN wget --user-agent="testuser" --referer=""${APIM_VERSION}/wso2am-${APIM_VERSION}.zip

RUN pwd
RUN ls -la
RUN apt-get update && apt-get install -y zip && apt-get clean
RUN unzip wso2am-${APIM_VERSION}.zip -d /tmp
RUN rm wso2am-${APIM_VERSION}.zip

EXPOSE 9443 9763 8243 8280 10397 7711
ENTRYPOINT [ "bin/" ]

then build with Docker Build command

docker build -t wso2apimanager . 

wait until the image is successfully build.

Run WSO2 API Manager

to run WSO2 API Manager server in Docker, type:

docker run -p 9443:9443 -p 9763:9763 -p 8243:8243 -p 8280:8280 -p 10397:10397 -p 7711:711 wso2apimanager

for more information, play this video tutorial:

Wagiman Wiryosukiro

Petani Sistem Informasi, tukang las plugin & themes Wordpress. Co-Founder Saat ini aktif sebagai Developer & kontributor di OpenMandriva Linux.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: