containerd
as my runtime interface and writing an Ansible role to install it. Let's do deep dive on how to install containerd
. You can find my Ansible role here.tasks/main.yml
as below:yaml
file as below:/etc/containerd/config.toml
. Then we will need to enable and restart the service so the new configuration can be read by the daemon. Since the configuration step is common on all operating systems, I created a single play and include it in the main play. Let's take a look at the configuration code: