WSO2 product Docker images available at DockerHub package General Availability (GA) versions of WSO2 products with no WSO2 Updates.
For a production grade deployment of the desired WSO2 product-version, it is highly recommended to use the relevant Docker image which packages WSO2 Updates, available at WSO2 Private Docker Registry.
Dockerfile links5.7.0, latest (Dockerfile)5.7.0-alpine (Dockerfile)5.7.0-centos (Dockerfile) [`5.6.0` (*Dockerfile*)](https://github.com/wso2/docker-apim/blob/v2.5.0.1/dockerfiles/is-as-km/Dockerfile)
Where to get help:
Docker Community Forums, Docker Community Slack, Stack Overflow or mail to WSO2 Developer mailing list
Where to file issues:
Product specific issues at WSO2 API Manager product repository and Docker resource usage issues at product Docker resource repository
Maintained by:
WSO2 Inc.
Supported Docker versions:
Docker v17.09.0 or above
WSO2 API Manager is an open source approach that addresses full API lifecycle management, monetization, and policy enforcement. It allows extensibility and customization, and ensures freedom from lock-in.
It acts as an external key manager and primarily, does the key validation. In addition to that, the server contains all the WSO2 Identity Server related features.
The following command starts a Linux Ubuntu-based WSO2 Identity Server as Key Manager Docker image.
$ docker run -it -p 9443:9443 --name key-manager wso2/wso2is-km:5.7.0
Here, port 9443 has been mapped to the corresponding Docker host (host machine on top of which containers are spawned) port.
To access the management console, use the Docker host IP and port 9443 as follows:
https://{DOCKER_HOST}:9443/carbon
Assuming you have started a Docker container instance of IS as KM as instructed in the previous section Start an IS as KM instance,
$ docker logs key-manager
$ docker exec -it key-manager bash
To start a Docker container instance of the IS as KM in debug mode (assuming 5005 to be the remote debugging port), use the following command:
$ docker run -it -p 9443:9443 -p 5005:5005 --name another-key-manager wso2/wso2is-km:5.7.0 -debug 5005
WSO2 Carbon platform uses TCP ports to monitor a running Carbon instance using a JMX client such as JConsole. JMX is enabled in WSO2 products by default. Thus, JMX server is started automatically in a particular product.
The default JMX ports RMIRegistryPort and the RMIServerPort are started on ports 9999 and 11111 respectively.
Hence, assuming the default ports are not changed, start a Docker container instance of IS as KM using the following command.
$ docker run -it -p 9443:9443 -p 9999:9999 -p 11111:11111 --name jmx-is-km wso2/wso2is-km:5.7.0
Obtain the JMX Service URL as described in the WSO2 official documentation from the server startup log.
docker logs jmx-is-km
INFO - JMXServerManager JMX Service URL : service:jmx:rmi://localhost:11111/jndi/rmi://localhost:9999/jmxrmi
Follow the steps provided under Monitoring a WSO2 product with JConsole.
Please see the WSO2 official documentation for advanced details on JMX monitoring.
Note: Passing arguments during server startup is not supported in Docker image with tag 5.6.0.
Configurations would lie on the Docker host machine and they can be volume mounted to the container. As an example,
the steps required to change the port offset using carbon.xml is as follows:
In the IS as KM product distribution, carbon.xml configuration file can be found at {DISTRIBUTION_HOME}/conf.
Copy the file to a suitable location of the host machine, referred to as {SOURCE_CONFIGS}/carbon.xml and increase the offset value under ports by 1.
other users for {SOURCE_CONFIGS}/carbon.xml.$ chmod o+r {SOURCE_CONFIGS}/carbon.xml
$ docker run -p 9444:9444 --volume {SOURCE_CONFIGS}/carbon.xml:{TARGET_CONFIGS}/carbon.xml wso2/wso2is-km:5.7.0
Here, TARGET_CONFIGS refers to /home/wso2carbon/wso2is-km-5.7.0/repository/conf folder of the container.
Multiple product profile Docker images based on different base operating systems are available.
wso2is-km:{version}Ubuntu 18.04 LTS based Docker image with AdoptOpenJDK 8 pre-installed has been used as the base Docker image.
WSO2 IS as KM has been installed on top of this Docker image.
wso2is-km:{version}-alpineAlpine based Docker image with AdoptOpenJDK 8 pre-installed has been used as the base Docker image.
WSO2 IS as KM has been installed on top of this Docker image.
wso2is-km:{version}-centosCentOS 7 based Docker image has been used. AdoptOpenJDK 8 and WSO2 IS as KM have been installed on top of this Docker image.
View license information for the software contained in this image.
As with all Docker images, these are likely to contain other software which may be under other licenses (such as Bash, etc. from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Content type
Image
Digest
Size
619.3 MB
Last updated
about 6 years ago
docker pull wso2/wso2is-km