Skip to content

fix(installer): handle Docker Desktop disk probe fallback#4

Open
vladi-coti wants to merge 1 commit into
coti-io:developmentfrom
vladi-coti:installer-fix
Open

fix(installer): handle Docker Desktop disk probe fallback#4
vladi-coti wants to merge 1 commit into
coti-io:developmentfrom
vladi-coti:installer-fix

Conversation

@vladi-coti
Copy link
Copy Markdown
Member

Use container root free-space as a fallback when DockerRootDir is reported logically but is not exposed on the host path, as happens on WSL with Docker Desktop.

Use container root free-space as a fallback when DockerRootDir is reported logically but is not exposed on the host path, as happens on WSL with Docker Desktop.
@gmesika-coti
Copy link
Copy Markdown
Member

@vladi-coti can you please describe the scenario that this issue fixes?

@vladi-coti
Copy link
Copy Markdown
Member Author

On WSL Docker Desktop, the installer’s 90 GB disk check looks at DockerRootDir on the host — but that path isn’t real there, so the check fails even when Docker has enough space. The fix falls back to df inside a short Alpine container (Docker’s actual disk).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants