






















docker image inspectUse docker image inspect to check that a specific image and tag exists.
docker image inspect node:latest
Image exists:
[
{
"Id": "sha256:f47907840247d2929aa083a54565882af6fd35b011f3e2c8a7f3b0294500142a",
"RepoTags": [
"node:latest"
],
...
]
Image does not exist:
[]
Error: No such image
docker imagesUse docker images to get a list of images installed locally. You can add the name of an image to filter the list.
$ docker images node
REPOSITORY TAG IMAGE ID CREATED SIZE
node lts-alpine3.9 87f8cdfc269e 24 hours ago 89.3MB
node latest f47907840247 25 hours ago 943MB
node <none> d308ffbc8182 3 weeks ago 89MB
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。