You are browsing documentation for an older version. See the latest documentation here.
Kong Mesh with Docker
To install and run Kong Mesh on Docker:
Finally, you can follow the Quickstart to take it from here and continue your Kong Mesh journey.
The official Docker images are used by default in the Kubernetes distributions.
Prerequisites
You have a license for Kong Mesh.
1. Download Kong Mesh
Kong Mesh provides the following Docker images for all of its executables, hosted on Docker Hub:
-
kuma-cp: at
kong/kuma-cp:1.9.8
-
kuma-dp: at
kong/kuma-dp:1.9.8
-
kumactl: at
kong/kumactl:1.9.8
-
kuma-prometheus-sd: at
kong/kuma-prometheus-sd:1.9.8
Note: Kong Mesh also has UBI images, image names are prefixed with
ubi
. For examplekong/ubi-kuma-cp
instead ofkong/kuma-cp
.
docker pull
each image that you need. For example:
docker pull kong/kuma-cp:1.9.8
2. Run Kong Mesh
Run the control plane with:
docker run \
-p 5681:5681 \
-v /path/to/license.json:/license.json \
-e "KMESH_LICENSE_PATH=/license.json" \
kong/kuma-cp:2.9.1 run
Where /path/to/license.json
is the path to a valid Kong Mesh
license file on the host that will be mounted as /license.json
into the
container.
This example will run Kong Mesh in standalone mode for a flat deployment, but there are more advanced deployment modes like multi-zone.
This runs Kong Mesh with a memory backend,
but you can use a persistent storage like PostgreSQL by updating the conf/kuma-cp.conf
file.
3. Verify the Installation
Now that Kong Mesh (kuma-cp
) is running, you can access the
control plane using either the GUI, the HTTP API, or the CLI:
You will notice that Kong Mesh automatically creates a Mesh
entity with the name default
.
4. Quickstart
To start using Kong Mesh, see the quickstart guide for Universal deployments. If you are entirely using Docker, you may also be interested in checking out the Kubernetes quickstart as well.