我跟踪了CentOS如何-to,但始终得到以下错误:
http://dev.centos.org/centos/5/testing/i386/repodata/filelists.sqlite.bz2: [Errno 4] Socket Error: timed out
Trying other mirror.
Error: failure: repodata/filelists.sqlite.bz2 from c5-testing: [Errno 256] No more mirrors to try.
谢谢!
我如何使用chef-recipe将像Jenkins这样的应用程序安装到运行在CentOs镜像中的CentOs容器中?
docker_service 'default' do
action [:create, :start]
end
# Pull latest image
docker_image node['chef-docker']['docker-platform'] do
tag 'latest'
action :pull
end
# Run container
docker_container node[
我尝试使用以下代码创建一个容器 docker run -it centos bash 没有杀死它就离开了。 现在,我正在尝试使用centos镜像的镜像ID删除它。 docker rmi -f 0f3e07c0138f
Error response from daemon: conflict: unable to delete 0f3e07c0138f (cannot be forced) - image is being used by running container a9eab034a426 在docker文档page上,它显示“除非使用-f选项,否则不能删除正在运行的容器的映像”。但