docker images

列出本地所有镜像

docker镜像查看、搜索、下载、删除命令
image.png

docker images -a 所有镜像
docker iamges -q 所有镜像ID docker images -aq
docker images --digests 显示摘要信息
docker iamges --digests -- no-trunc 显示完整的摘要信息

docker search XXXX

搜索docker的镜像

docker镜像查看、搜索、下载、删除命令
image.png

docker search -s 30 nginx 显示stars超过30的信息
docker search -s 30 --no-trunc nginx 显示完整的摘要信息

docker镜像查看、搜索、下载、删除命令
image.png

docker pull xxx

拉取镜像

docker镜像查看、搜索、下载、删除命令
image.png

docker rmi -f 镜像ID

删除镜像ID
docker rmi -f hello-world nginx 删除多个
docker rmi -f $(docker iamges -qa)删除全部

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2021-11-16
  • 2021-08-29
  • 2021-12-08
猜你喜欢
  • 2022-02-05
  • 2021-11-30
  • 2022-12-23
  • 2021-06-03
  • 2021-12-10
  • 2021-06-24
  • 2022-01-01
相关资源
相似解决方案