Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker error with read-only file system unknown

I'm using Windows 10 x64 and just downloaded Docker, I tried running a simple "hello-world" dockerfile but I keep getting:

docker: 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.

Every time I try, I get the same file read-only error

like image 506
Elgiz Abbasov Avatar asked Nov 07 '22 01:11

Elgiz Abbasov


2 Answers

If I remember correct after clearing space and Restarting Docker from scratch worked for me.

like image 158
Elgiz Abbasov Avatar answered Nov 30 '22 12:11

Elgiz Abbasov


On windows, open Docker desktop and click on the debug icon then restart. You can also consider "reset to factory defaults"

like image 32
Piaget Hadzizi Avatar answered Nov 30 '22 13:11

Piaget Hadzizi