安装老提示这个 :Command 'docker' not found, but can be installed with:
snap install docker # version 20.10.17, or apt install docker.io # version 20.10.21-0ubuntu1~20.04.1
See 'snap info docker' for additional versions.
root@serimt4vdimm4ap:~# apt install docker.io Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install to correct these. The following packages have unmet dependencies: docker.io : Depends: containerd (>= 1.2.6-0ubuntu1~) Recommends: pigz but it is not going to be installed Recommends: ubuntu-fan but it is not going to be installed php-cli : Depends: php7.4-cli but it is not going to be installed php-zip : Depends: php-common but it is not going to be installed php7.4-common : Depends: php-common (>= 1:73) but it is not going to be installed php7.4-json : Depends: php-common (>= 1:73) but it is not going to be installed php7.4-opcache : Depends: php-common (>= 1:73) but it is not going to be installed php7.4-readline : Depends: php-common (>= 1:73) but it is not going to be installed php7.4-zip : Depends: php-common (>= 1:73) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with
一直导致我安装失败,请问有什么解决办法,通过命令的形式
