docker / roadmap

Welcome to the Public Roadmap for All Things Docker! We welcome your ideas.
https://github.com/orgs/docker/projects/51
Creative Commons Zero v1.0 Universal
1.74k stars 260 forks source link

Separate docker images and containers data to different files/folders #489

Open C-h-e-r-r-y opened 1 year ago

C-h-e-r-r-y commented 1 year ago

Tell us about your request For now all docker data are stored into %USERPROFILE%\AppData\Local\Docker\wsl\data\ext4.vhdx. File ext4.vhdx can become very large due too many images or too many container runs. The last one is very important during development when I need to build a new container every time.

From other side (and as I understand) images/layers are very infrequent data and are stored in gz archives. So they can be stored in HDD - here we save space and lifetime for SSD.

Which service(s) is this request for? ?

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? I want start my docker containers quicky from SSD but store cold gz archives into slow HDD drive (where sequential speed is high).

Are you currently working around the issue? No because %USERPROFILE%\AppData\Local\Docker\wsl\data\ext4.vhdx holds all data and I can not split it

Additional context Original feature request was created for wsl, but they redirected me to docker/for-win and it redirected me to this repo for feature request

Updated Ideally all parts mentioned in docker system df should have separated storage:

The last one can grow large during development

wasi4440 commented 1 year ago

CONTRIBUTING.MD

C-h-e-r-r-y commented 1 year ago

@wasi4440 Do not understand what did you mean. I followed template for new issue as much a possible.