由于某些原因,我无法删除docker镜像.
这是输出 @H_502_3@OS版本:
这是输出 @H_502_3@OS版本:
Linux localhost.localdomain 4.12.13-300.fc26.x86_64 #1 SMP Thu Sep 14 16:00:38 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux@H_502_3@码头版
Client: Version: 17.06.2-ce API version: 1.30 Go version: go1.8.3 Git commit: cec0b72 Built: Tue Sep 5 20:05:40 2017 OS/Arch: linux/amd64 Server: Version: 17.06.2-ce API version: 1.30 (minimum version 1.12) Go version: go1.8.3 Git commit: cec0b72 Built: Tue Sep 5 20:06:58 2017 OS/Arch: linux/amd64 Experimental: false`@H_502_3@我没有任何容器:
$docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES@H_502_3@和我要删除的两个图像:
$docker images -a REPOSITORY TAG IMAGE ID CREATED SIZE gcc 7.1.0 855a4f4d1cd9 2 months ago 1.64GB hello-world latest 1815c82652c0 3 months ago 1.84kB@H_502_3@我的尝试:
$docker rmi -f gcc:7.1.0 Error response from daemon: No such image: gcc:7.1.0 $docker rmi -f 855a4f4d1cd9 Error response from daemon: reference does not exist $docker rmi -f hello-world:latest Error response from daemon: No such image: hello-world:latest $docker rmi -f 1815c82652c0 Error response from daemon: reference does not exist44@H_502_3@原因是什么,如何删除这些图像?