Skip to content

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

@C-h-e-r-r-y

Description

@C-h-e-r-r-y

Is your feature request related to a problem? Please describe.
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.

Describe the solution you'd like
Add the ability to separate docker images and docker container stores. I can store large image data on HDD and use SSD for containers (or event mount RAM for them)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions