Get the App
SLTechnology News&Howtos  ›  Servers  › 

Summary of containd and docker commands (constantly updated)

Shulou Source: shulou.com Published: 2022-06-02 07:58:02 10月03日 Update

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

Tags: Commands containers runs information comments methods memory lightweight lightweight mirroring support constant update Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MySQL Linux MariaDB Xiaomi