代码之家  ›  专栏  ›  技术社区  ›  Larry Martell

无法在本地找到图像

  •  0
  • Larry Martell  · 技术社区  · 6 年前

    $ docker image ls
    REPOSITORY             TAG                 IMAGE ID            CREATED              SIZE
    elucidbio/capcompute   local               a5ed348be9f8        About a minute ago   2.27GB
    

    $docker run --name capcompute elucidbio/capcompute
    Unable to find image 'elucidbio/capcompute:latest' locally
    docker: Error response from daemon: repository elucidbio/capcompute not found: does not exist or no pull access.
    

    我错过了什么蠢事?

    1 回复  |  直到 6 年前
        1
  •  3
  •   ug_    6 年前

    你的标签不匹配。您的本地图像标记是“本地”的,但它会查找“最新”,因为您没有指定标记。要运行它,应该附加“local”标记。

    docker run --name capcompute elucidbio/capcompute:local