Date

Due to some (not so) recent Docker license changes, even if not for Docker CLI which is still Apache License, Version 2.0, some alternatives are under development, being the most notable ones podman and nerdctl.

podman has packages for the most common distros, but not nerdctl yet. Just extracting nerdctl into common paths resulted in some errors, even though the command seems to run fine:

$ doas nerdctl run -dp 5000 --name registry registry
FATA[0000] failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: time="2024-09-12T12:10:01-03:00" level=fatal msg="failed to call cni.Setup: plugin type=\"bridge\" failed (add): incompatible CNI versions; config is \"1.0.0\", plugin supports [\"0.1.0\" \"0.2.0\" \"0.3.0\" \"0.3.1\" \"0.4.0\"]"
Failed to write to log, write /var/lib/nerdctl/1935db59/containers/default/887b99e807fc6f07b22d5c69b192acb94285b4d2335b2a3d512e90373863882b/oci-hook.createRuntime.log: file already closed: unknown

To solve this, "CNI plugins" must be installed.