windows docker no space left on device
问题描述
创建容器时,提示no space left on device
问题出现的环境背景及自己尝试过哪些方法
操作系统:windows
docker 容器配置:
尝试过的方式:
https://blog.csdn.net/QQ40147...
无法得到解决,只是清理了Containers的空间,Local Volumes空间还是不足。
docker system df
docker system prune
https://stackoverflow.com/que...
I had the same problem on Windows. One of this two settings should solve this problem:
Increase Memory that Docker is using. If is it 2GB, add more
Increase "Disk image max size" - initially is 60, move it to 80 GB
This should be enough, but depends on complexity of what you are building. In some cases increase of Swap would be needed. The initial Swap of Docker is 1024 MB
Thanks
根据以上的解决思路,不只是增加磁盘空间,也可能是内存不够,两者都增加。
相关代码
// 请把代码文本粘贴到下方(请勿用图片代替代码)
你期待的结果是什么?实际看到的错误信息又是什么?
请问应该如何增加windows docker的空间大小?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
https://stackoverflow.com/que...
I had the same problem on Windows. One of this two settings should solve this problem:
Increase Memory that Docker is using. If is it 2GB, add more
Increase "Disk image max size" - initially is 60, move it to 80 GB
This should be enough, but depends on complexity of what you are building. In some cases increase of Swap would be needed. The initial Swap of Docker is 1024 MB
使用了后一种方式解决了,应该是内存不够导致的。