Building
If you want to build cri-dockerd
from source, you will need the following:
To build the project yourself, you will need a local copy of the repository. You can clone the repository by running the following command:
git clone https://github.com/Mirantis/cri-dockerd.git
The above step creates a local directory called cri-dockerd
which you will need for the following steps.
You can build the project by running the following command from within the cri-dockerd
directory:
make cri-dockerd
This will output the binary to the project’s root directory as cri-dockerd
. You can then run it directly or install it using the manual install process.
Note: With a local copy of the repo, the service files can be installed from the
packaging/systemd
directory.
To build for a specific architecture, add ARCH=
as an argument, where ARCH
is a known build target for Go.
ARCH=amd64 make cri-dockerd