Summary of containd and docker commands (constantly updated)
K3s uses containerd by default (you can also add-- docker uses docker), which is lighter than docker, and it is easier for me to remember when I used the docker command.
The comparison table of the two commands:
Idcontainerd Command docker Command Note 1ctr image lsdocker images gets image information 2ctr image pull nginxdocker pull nginxpull a nginx's image3ctr image tag nginx nginx-testdocker tag nginx nginx-testtag a nginx's image4ctr image push nginx-testdocker push nginx-testpush nginx-test 's image5ctr image pull nginxdocker pull nginxpull a nginx's image6ctr image import nginx.tardocker load