Set up the repository¶
To install MCR using the Mirantis repository you must first set up the repository on the host machine.
Note
MCR only supports x86_64/amd64.
Install the packages:
$ sudo apt update && sudo apt install curl gnupg
Add the official Docker GPG key:
$ sudo gpg --batch --yes \ --output /usr/share/keyrings/mirantis-archive-keyring.pgp --dearmor \ <<< $(curl -fsSL https://repos.mirantis.com/ubuntu/gpg)
Verify that the GPG key has the fingerprint
DD91 1E99 5A64 A202 E859 07D6 BC14 F10B 6D08 5F96
:$ gpg --show-keys --with-fingerprint --keyid-format=short \ /usr/share/keyrings/mirantis-archive-keyring.pgp
Expected output:
pub rsa4096/6D085F96 2017-02-22 [SCEA] Key fingerprint = DD91 1E99 5A64 A202 E859 07D6 BC14 F10B 6D08 5F96 uid Docker Release (EE deb) <docker@docker.com> sub rsa4096/91A29FA3 2017-02-22 [S]
Add the repository to your
sources.list
. To do this, create a text file in/etc/apt/sources.list.d/mirantis.sources
:Types: deb URIs: https://repos.mirantis.com/ubuntu Suites: <value-depends-on-Ubuntu-version> Architectures: amd64 Components: stable-25.0 Signed-by: /usr/share/keyrings/mirantis-archive-keyring.pgp
Note
The
Suites
parameter setting isjammy
for Ubuntu 22.04 andfocal
for Ubuntu 20.04.