Wednesday, September 15, 2021

Move Docker data to a different drive to save space from the c drive - Quick configuration.


Recently, while working on a project I found the space issue in C Drive and because of that, the docker container was getting shut down automatically.



Although the VM has good space in the d drive, I did the path change in the configuration and it basically saved my work.

How to make that change - We can directly do it from the docker UI settings option or can change the C:\ProgramData\Docker\config\daemon.json


Reference - https://github.com/docker/for-win/issues/185

Results in D Drive - 






No comments:

Post a Comment