How To Install containerd.x86_64 on Amazon Linux 2

In this tutorial we learn how to install containerd.x86_64 in Amazon Linux 2. containerd.x86_64 is An industry-standard container runtime with an emphasis on

Introduction

In this tutorial we learn how to install containerd.x86_64 on Amazon Linux 2.

What is containerd.x86_64

containerd is an industry-standard container runtime with an emphasis on simplicity, robustness and portability. It is available as a daemon for Linux and Windows, which can manage the complete container lifecycle of its host system and storage, container execution and supervision, low-level storage and network attachments, etc.

We can use yum to install containerd.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install containerd.x86_64.

Install containerd.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install containerd.x86_64 using yum by running the following command:

sudo yum -y install containerd.x86_64

How To Uninstall containerd.x86_64 on Amazon Linux 2

To uninstall only the containerd.x86_64 package we can use the following command:

sudo yum remove containerd.x86_64

containerd.x86_64 Package Contents on Amazon Linux 2

/etc/containerd/config.toml
/usr/bin/containerd
/usr/bin/containerd-shim
/usr/bin/containerd-shim-runc-v1
/usr/bin/containerd-shim-runc-v2
/usr/bin/ctr
/usr/lib/systemd/system/containerd.service
/usr/share/doc/containerd-1.4.13
/usr/share/doc/containerd-1.4.13/PLUGINS.md
/usr/share/doc/containerd-1.4.13/README.md
/usr/share/licenses/containerd-1.4.13
/usr/share/licenses/containerd-1.4.13/LICENSE
/usr/share/man/man5/containerd-config.toml.5.gz
/usr/share/man/man8/containerd-config.8.gz
/usr/share/man/man8/containerd.8.gz
/usr/share/man/man8/ctr.8.gz
/var/lib/containerd

References

Summary

In this tutorial we learn how to install containerd.x86_64 on Amazon Linux 2 using yum.