Skip to content

Instantly share code, notes, and snippets.

View datocrats-org's full-sized avatar

Datocrat One datocrats-org

View GitHub Profile
@datocrats-org
datocrats-org / setupDevEnv_workaroundWSL2vhdxLimit.md
Last active March 30, 2024 14:36
Backup and restore WSL2 vhdx, avoid 256GB vhdx limit for docker desktop WSL2 native

Backup and restore WSL2 vhdx, avoid 256GB vhdx limit for docker desktop WSL2 native

Review all steps to view the symptom this Gist addresses, customize a workaround to allow for >256GB Docker pulls safely on Windows, then perform a backup and recovery of the result (export and import). Please provide comments on any failures.

Determine the expected size of the docker-desktop-data volume

  • Get the base image size + additional + all docker volumes using docker system df
  • Add raw uncompressed size for alpine (50MB), docker for your version of windows (700MB) and linux (80MB)

docker system df

@datocrats-org
datocrats-org / cloudSettings
Last active January 16, 2022 17:32
Visual Studio Code Settings Sync Gist
{"lastUpload":"2022-01-16T17:32:47.434Z","extensionVersion":"v3.4.3"}