Product:
Mirantis Docker
Microsoft Windows 2022 server
Issue:
How update the lic file on the docker installation on a Windows server?
Solution:
Buy a new license (Mirantis Container Runtime with LabCare Support) from Mirantis, one per PAW server. You will get a mail with a link, that will download the MCR file direct to your computer.
Then rename the file from like MCR 3xNode LabCare.lic to docker.lic.
Copy the docker.lic file to your docker folder – normally that is D:\docker on your Planning Analytics Workspace (PAW) server.
To check that you have a license, enter below in CMD:
docker info --format '{{.ProductLicense}}'
You should get a text like this ‘Valid until 2026-04-09 for sf0643587264358638568230756MAC’ if all is fine.
More Information:
https://docs.mirantis.com/mcr/25.0/single/index.html#install-the-license
You can update the license in your cluster at any time during the week before your license expire.
As per our terms of service – “Users are not authorized to run MCR without a valid license.”, but even if you do not replace the license after the 10th, the docker service will not be forcefully stopped and there won’t be any interruptions to your applications and workloads.
You download Mirantis license (.lic) files from the Mirantis CloudCare Portal (or from a purchase confirmation email, depending on the product):
For MKE / MSR / MKE 4k:
-
Find the email from Mirantis Support with subject similar to “Welcome to Mirantis’ CloudCare Portal” and log in as instructed. [MKE 3.7 license; MSR 2.9 license]
-
In the top navigation bar, click Environments.
-
Click the Cloud Name associated with the license you need.
-
Scroll down to License Information and click the License File URL.
-
In the new tab, click View file to download the
.licfile. [MKE 3.8 license; MSR 2.9 single]
For MCR (Mirantis Container Runtime):
-
If you bought via the Mirantis Store, the license file is available from the link in your purchase confirmation email. Otherwise, you must contact Mirantis Sales/Support to get the file. [MCR 25.0 license]
For Mirantis Container Runtime (MCR) / Mirantis Docker Engine, the license file must be placed in the daemon data directory and named docker.lic.
On Windows (default path):
-
Copy the file to:
%PROGRAMDATA%\docker\docker.lic[MCR install license]
Install MKE offline – Mirantis Kubernetes Engine
Index of win/static/stable/x86_64
By default, MCR automatically records and transmits data to Mirantis for monitoring and analysis purposes. The data collected provides the Mirantis Customer Success Organization with information that helps us to better understand the operational use of MCR by our customers. It also provides key feedback in the form of product usage statistics, which enable our product teams to enhance Mirantis products and services.
When antivirus and antimalware software products scan files in use by MCR, these files can lock in a way that causes Docker commands to hang or causes orphaned snapshots to leak disk space. To circumvent these problems, you can add the Docker data directory to the software’s exclusion list, which is by default /var/lib/docker on Linux systems and %ProgramData%\docker on Windows Server systems. As a result of this action, though, viruses or malware in local Docker images, writable layers of containers, or volumes will go undetected.


