docker使用镜像id删除镜像

 

┌──(liruilong㉿Liruilong)-[/mnt/e/docker]
└─$ docker images
REPOSITORY                             TAG                 IMAGE ID            CREATED             SIZE
<none>                                 <none>              fd1c5f7b6816        28 seconds ago      700MB
centos7_java8_tomcat8.5                latest              b8c89e810729        2 hours ago         700MB
centos7_java8_tomcat8.5_base           latest              e9e848ab97f6        4 hours ago         679MB
centos                                 latest              300e315adb2f        7 months ago        209MB
mamohr/centos-java                     latest              e041132b8b32        3 years ago         577MB
hub.c.163.com/housan993/centos7_jdk8   latest              0f793ba5281b        3 years ago         356MB

┌──(liruilong㉿Liruilong)-[/mnt/e/docker]
└─$ docker rim fd1c5f7b6816
docker: 'rim' is not a docker command.
See 'docker --help'

┌──(liruilong㉿Liruilong)-[/mnt/e/docker]
└─$ docker rim <none>:<none>
bash: syntax error near unexpected token `newline'

┌──(liruilong㉿Liruilong)-[/mnt/e/docker]
└─$ docker rmi <none>:<none>
bash: syntax error near unexpected token `newline'

┌──(liruilong㉿Liruilong)-[/mnt/e/docker]
└─$ docker image rm fd1c5f7b6816
Deleted: sha256:fd1c5f7b6816f9dc78a9654f0365fa3986c69777124047122182d04d667d6666

┌──(liruilong㉿Liruilong)-[/mnt/e/docker]
└─$

 

posted @ 2021-07-27 18:47  山河已无恙  阅读(727)  评论(0编辑  收藏  举报