Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.5 KB

build.md

File metadata and controls

54 lines (39 loc) · 1.5 KB

Building cmk

System requirements

  • Docker 1.12.1 or above
  • Python 3.4.4 or above

A running docker daemon (with permissions for the current user to issue docker commands) is required before running:

$ make

After this step completes successfully, cmk can be run inside a Docker container:

$ docker run -it cmk ...

Before running any subsequent comments, the CMK configuration directory must exist. Note that is it important that this configuration directory is bind-mounted into the container, such that the directory resides on the host system and not in the container.

Configuration directory initialization is done through cmk init:

$ cmk init

Please note that the default settings require at least six physical cores (four for data plane, one for control plane and one for infra). To change these settings, use the --num-dp-cores and --num-cp-cores flags.