当前位置:网站首页>win10使用docker拉取redis镜像报错read-only file system: unknown
win10使用docker拉取redis镜像报错read-only file system: unknown
2022-07-02 06:32:00 【Axi-ZYTao】
Windows10电脑,docker里面,使用命令docker pull redis去拉取redis的镜像时,发生报错,大概内容是:文件只读问题,具体报错提示如图所示:
Error response from daemon: error creating temporary lease: file resize error: truncate /var/lib/desktop-containerd/daemon/io.containerd.metadata.v1.bolt/meta.db: read-only file system: unknown
经过查看,是docker安装时内存设置的问题:
我一开始初始化设置的是20G,使用docker info查看当前服务器可用内存为12.31G,也就是说内存不够。
两种方法解决:
1.增加服务器内存资源;
2.修改docker初始设置时的内存大小。
前往设置中修改默认大小为10G,重启docker即可解决
再次拉取镜像,成功。
边栏推荐
- Count the number of various characters in the string
- Shortcut key to comment code and cancel code in idea
- Gocv image reading and display
- C# 高德地图 根据经纬度获取地址
- 一个经典约瑟夫问题的分析与解答
- Pclpy projection filter -- projection of point cloud to cylinder
- Routing foundation - dynamic routing
- 队列的基本概念介绍以及典型应用示例
- Minecraft安装资源包
- HackTheBox-Gunship
猜你喜欢
随机推荐
Sentinel easy to use
First week of JS study
ARP and ARP Spoofing
Qt的connect函数和disconnect函数
kubernetes部署loki日志系统
Luogu greedy part of the backpack line segment covers the queue to receive water
Sentinel 简单使用
Openfeign is easy to use
C # save web pages as pictures (using WebBrowser)
Minecraft安装资源包
Webflux responsive programming
Oracle related statistics
PCL calculates the intersection of three mutually nonparallel planes
整理秒杀系统的面试必备!!!
Finishing the interview essentials of secsha system!!!
Analysis and solution of a classical Joseph problem
Service de groupe minecraft
HCIA - application layer
OpenFeign 簡單使用
Introduction to the basic concept of queue and typical application examples








