You are browsing documentation for an outdated version. See the latest documentation here.
Kong Mesh with Docker
To install and run Kong Mesh on Docker, execute the following steps:
Finally, you can follow the Quickstart to take it from here and continue your Kong Mesh journey.
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.0.4
-
kuma-dp: at
kong/kuma-dp:1.0.4
-
kumactl: at
kong/kumactl:1.0.4
-
kuma-prometheus-sd: at
kong/kuma-prometheus-sd:1.0.4
docker pull
each image that you need. For example:
$ docker pull kong/kuma-cp:1.0.4
2. Run Kong Mesh
kuma-cp
container — you need to have a valid
Kong Mesh license in place.
Run the control plane with:
$ docker run \
-p 5681:5681 \
-v /path/to/license.json:/license.json \
-e "KUMA_LICENSE_PATH=/license.json" \
kong/kuma-cp:1.0.4 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.
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
Congratulations! You have successfully installed Kong Mesh.
After installation, the Kuma quickstart documentation is fully compatible with Kong Mesh, except that you are running Kong Mesh binaries instead of the vanilla Kuma ones.
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.