Interact with MSR#
You can interact with the Mirantis Secure Registry in the following ways:
-
Use the MSR web UI to view, manage, and maintain content.
-
Use the CLI for advanced operations:
- kubectl deploys and manages resources in Helm chart-based installations.
- Mirantis Container Runtime (MCR) builds and runs services in Compose-based installations.
Configure Linux (LF) line endings#
All MSR tooling requires files that use Linux line endings (LF). On Windows systems, ensure that all files such as configuration files, manifests, or scripts use LF line endings only. Files that use Windows line endings (CRLF) may cause errors.
Set the line endings in vim
-
Check the current line ending format in vim:
:set ff? -
If the result is not
unix, change it by running::set ff=unix -
Save the file:
:w
Set the line endings manually
Open your file in a text editor and ensure that line endings are set to LF.
Set the line endings using the CLI
-
Use tools like
dos2unixto convert CRLF to LF:dos2unix filename -
Alternatively, use
sedto remove carriage returns:sed -i 's/\\r$//' filename