“设备或资源繁忙”尝试用docker推送图像时出错 [英] "device or resource busy" error when trying to push image with docker

查看:201
本文介绍了“设备或资源繁忙”尝试用docker推送图像时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当推送到官方注册表时,我收到以下错误:

When pushing to the official registry, I get the following error:


无法生成图层存档:安装错误/ dev / mapper / docker-202:1-399203-ed78b67d527d993117331d27627fd622ffb874dc2b439037fb120a45cd3cb9be'on'/ var / lib / docker / devicemapper / mnt / ed78b67d527d993117331d27627fd622ffb874dc2b439037fb120a45cd3cb9be':设备或资源繁忙

Failed to generate layer archive: Error mounting '/dev/mapper/docker-202:1-399203-ed78b67d527d993117331d27627fd622ffb874dc2b439037fb120a45cd3cb9be' on '/var/lib/docker/devicemapper/mnt/ed78b67d527d993117331d27627fd622ffb874dc2b439037fb120a45cd3cb9be': device or resource busy

我第一次尝试推动图像时,我的硬盘上的内存已经耗尽了。之后,我清理了,应该有足够的空间推动它,但第一次尝试以某种方式锁定图像。

The first time I tried to push the image, I ran out of memory on my hard drive. After that I cleaned up and should have now enough space to push it, but the first try somehow locked the image. How can I free it again?


  • 我已经停止并删除了运行图像的容器,但是没有没有任何结果

推荐答案

这可能与这里提到的问题有关: https: //github.com/dotcloud/docker/issues/4767

This looks like it might be related to the issue mentioned here: https://github.com/dotcloud/docker/issues/4767

这听起来像是你试图停止和移除容器。您是否尝试重新启动docker守护程序和/或重新启动主机?

It sounds like you've tried stopping and removing the container. Have you tried restarting the docker daemon and/or restarting the host?

这篇关于“设备或资源繁忙”尝试用docker推送图像时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆