我有一个docker映像:
$ 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.
我在这里想念什么愚蠢的东西?
答案 0 :(得分:2)
您的标签不匹配。您的本地图片标签是“本地”,但它正在寻找“最新”标签,因为您未指定标签。要运行它,您应该附加“ local”标签。
docker run --name capcompute elucidbio/capcompute:local