【问题标题】:Using one command to list all asp.net docker images使用一个命令列出所有 asp.net docker 镜像
【发布时间】:2016-07-23 10:32:12
【问题描述】:

我们可以从here获取图片。

我的问题是是否有一个简单的命令可以列出我的 Windows 桌面上的所有可用图像?

编辑:

我想列出当前 coreclr 框架存储库中的所有可用图像。根据我的 Windows 桌面 .net 安装,是 dnu 命令还是 docker 命令来执行此操作?

【问题讨论】:

标签: docker


【解决方案1】:

如果您没有可用的grep,则可以使用findstr

c:\git>docker images | findstr /R /C:"microsoft/aspnet"
microsoft/aspnet              1.0.0-rc1-final               c2ddc1b14fd9        3 months ago        742.5 MB
microsoft/aspnet              1.0.0-beta8                   ec21b7401dc2        4 months ago        742.4 MB
microsoft/aspnet              1.0.0-beta7                   cd81e77e42bf        4 months ago        688.4 MB

【讨论】:

  • 我想在我的笔记本电脑上试试这个命令。所以第一步,我安装了Docker Toolbox。第2步,我关闭了Windows防火墙。第三步,运行命令。但我收到一个错误An error occurred trying to connect: Get http://127.0.0.1:2375/v1.22/images/json/: dial tcp 127.0.0.1:2375: connectex: No connection could be made because the target machine actively refused it.
猜你喜欢
  • 1970-01-01
  • 2016-10-29
  • 1970-01-01
  • 2022-11-09
  • 2021-11-25
  • 2020-10-04
  • 1970-01-01
  • 1970-01-01
  • 2017-09-29
相关资源
最近更新 更多