-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
address hard coded max size of hyper-v machine disk #105
Comments
yep, dynamical growth of vhdx and vm partition currently works till the preset maximum size is reached. When vhdx is manually resized larger, the vm partition also need manual resize. |
any update on this? How to increase the Hyper-V image size (and partition in it)? |
Available on latest edge, should be shipped in 18.03 stable. |
Unfortunately, the max size is limited to 256GB. As surprising as this may seem, I'm currently working on a scenario where I'd like to devote most of a 512GB SSD to Docker for Windows. And this is not a production workload, just a developer machine so I feel this should be within the scope of the product. May I respectfully suggest that this slider should allow choosing a disk size as large as the host disk? The VHDX format apparently supports disks up to 64 TB so this should not be an issue. Fortunately, directly resizing the VHDX in Hyper-V manager (while the VM is shut down) lets one work around the issue, since the VM seems to happily extend its filesystem to the new size upon boot. Unfortunately, if you do this (resize the disk past 256GB) the Advanced settings panel becomes unusable because everytime you click Apply, it thinks you have reduced the disk size and wants to destroy the disk. I needed to change the RAM allocation and ended up hand-editing |
@jonathanperret Can you please submit your request as a new issue ? |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Actual behavior
Currently the max size of MobyLinux.vhdx is hard coded to 60GB in MobyLinux.ps1. As workaround, user may change MobyLinux.ps1 the size and reset in Docker settings for the change to take effect after re-initialization. (Other possible workaround without losing data may involve using powershell to resize the vhdx, and then somehow rooting into the host OS (Alpine?) and resize the partition.)
Information
e.g. Windows 10
Steps to reproduce the behavior
See the actual behavior above.
Thanks!
The text was updated successfully, but these errors were encountered: