(Optional) Deploying the Containerd Environment
In addition to the Docker container runtime, the video stream cloud phone also supports the containerd runtime. If you choose to run the video stream cloud phone with containerd, refer to this section to deploy containerd-related software packages.
Obtaining Software Packages
Table 1 lists the software packages required for deploying the containerd environment.
Deploying the Containerd Environment
- Download and decompress the containerd binary package to the /usr/local directory.
1 2 3 4
mkdir -p /root/containerdenv/downloads cd /root/containerdenv/downloads wget https://github.com/containerd/containerd/releases/download/v1.7.14/containerd-1.7.14-linux-arm64.tar.gz --no-check-certificate tar Cxzvf /usr/local containerd-1.7.14-linux-arm64.tar.gz
Check that the containerd version is v1.7.14.1containerd --version - Download the containerd service file and configure it as a system service.
1 2 3 4 5 6
cd /root/containerdenv/downloads wget https://raw.githubusercontent.com/containerd/containerd/main/containerd.service --no-check-certificate mkdir -p /usr/local/lib/systemd/system/ cp containerd.service /usr/local/lib/systemd/system/ systemctl daemon-reload systemctl enable --now containerd
Check whether the containerd service is started.1systemctl status containerd

If the command output shown in the preceding figure is displayed, the containerd service has been started.
- Download and install runC.
1 2 3
cd /root/containerdenv/downloads wget https://github.com/opencontainers/runc/releases/download/v1.1.12/runc.arm64 --no-check-certificate install -m 755 runc.arm64 /usr/local/sbin/runc
Check that the runC version is 1.1.12.
1runc --version - Download and install the CNI plugin.
1 2 3 4
cd /root/containerdenv/downloads mkdir -p /opt/cni/bin wget https://github.com/containernetworking/plugins/releases/download/v1.4.1/cni-plugins-linux-arm64-v1.4.1.tgz --no-check-certificate tar Cxzvf /opt/cni/bin cni-plugins-linux-arm64-v1.4.1.tgz
- Download and install nerdctl.
1 2 3
cd /root/containerdenv/downloads wget https://github.com/containerd/nerdctl/releases/download/v1.7.5/nerdctl-1.7.5-linux-arm64.tar.gz --no-check-certificate tar Cxzvf /usr/local/bin nerdctl-1.7.5-linux-arm64.tar.gz
Check that the nerdctl version is 1.7.5.
1nerdctl --version - Restart the Docker service and start a new terminal for the new container runtime to take effect.
Parent topic: Environment Configuration