Install the license¶
Warning
Users are not authorized to run MCR without a valid license. For more information, refer to Mirantis Agreements and Terms.
For MCR to recognize your license, you must apply your customer license file at runtime.
To make MCR aware of your license and entitlement, perform the following for each node that will host MCR:
Download the license file.
If you purchased a license from the Mirantis Store, the license file is available through a link in your confirmation email. Otherwise, contact Mirantis Sales and Support to gain access to the file.
Locate the daemon data directory.
The default daemon data directory is
/var/lib/docker
on Linux and%PROGRAMDATA%\docker
on Windows. The location of the directory may be different, however, if the daemon data directory path was previously reconfigured in thedata-root
property in thedaemon.json
file or through the passing of the --data-root flag during MCR start up.Copy the license file to the daemon data directory and name it
docker.lic
The license must be readable by the account/user that runs the docker daemon.
Note
Whenever an MKE license is applied to an MKE cluster, the license is also applied to all MCR nodes in the cluster. The inverse is not true, though, so MKE users should apply their license through the MKE web UI to bypass having to apply the license to individual MCR nodes.