不能build立docker图像与错误说图像没有find

我正在尝试从公共存储库中构build一个docker镜像。 其实我之前已经成功了,现在我想把图片更新到最新版本,所以我删除了旧的图片,并试图拉出新的图片。

但是,当我尝试

$ docker pull dockerfile/ghost Pulling repository dockerfile/ghost FATA[0001] Error: image dockerfile/ghost:latest not found 

我真的不明白为什么它不工作,它应该是工作。

这是你需要的
使用docker拉的鬼魂

谢谢,@Chandan。 我按照他的build议通过了解这个问题

docker日志container_id

首先,错误是

错误:casper无法激活,因为它当前没有安装。

所以我下载了casper并把它放到主题文件夹中。

其次,错误是

迁移:最新版本003 Ghost正在开发中运行…正在侦听127.0.0.1:2368 Urlconfiguration为: http:// localhost:2368

因为ghost服务器正在开发模式下运行,所以我把它作为生产模式。

第三,进入生产模式是错误的

错误:无法访问Ghost的内容path:

所以我按照这个指令来编辑/path/to/ghost/blog/config.js并将开发path部分复制到生产环境。 然后重新启动容器。

 docker restart some-ghost 

最后它工作

更换

 docker pull dockerfile/ubuntu 

 docker pull ubuntu 

同样在基础镜像的Dockerfile中,replace

 FROM dockerfile/ubuntu 

 FROM ubuntu 

将ubuntu更改为您需要的任何其他映像名称