-
Notifications
You must be signed in to change notification settings - Fork 120
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
Allocated disk space is not used by container. #2449
Comments
Made some progress: Using
|
Hi. please, don't cut all the output from your commands. For a start, could you run df on the disk image itself (from the host)? In case you were using different partitions. Something like
|
Sorry. I didn't want to make a massive blurb of irrelevant information. Here are the bits
and inside the container:
|
Update: I did a complete reinstall of Docker and now the size available inside my containers is 64GB (instead of expected 128GB), but this is still much better than the 18GB I had pre-nuke. here's the new $ df -h
Filesystem Size Used Avail Use% Mounted on
overlay 63G 5.7G 54G 10% /
tmpfs 64M 0 64M 0% /dev
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
osxfs 466G 230G 232G 50% /mnt/data
/dev/sda1 63G 5.7G 54G 10% /etc/hosts
shm 64M 0 64M 0% /dev/shm
tmpfs 7.9G 0 7.9G 0% /proc/scsi
tmpfs 7.9G 0 7.9G 0% /sys/firmware One key difference I noticed is that what used to be |
Nope, sorry :/ Have you tried to set it again at 128GB? (or rather, have you checked that the disk is still declared to be 64GB in your settings?) |
Actually I can reproduce your problem. Thanks for the report! If you want to enjoy the disk space, quit Docker, remove the disk image, and rerun Docker, it should do the trick (at the expense of killing all your images and containers) until this issue is fixed.
|
We just released 17.12.0-ce-mac49 on the Stable channel that should fix this. (and 18.01 on the Edge channel also fixes this) |
@JonathanMontane can you confirm this is fixed for you on latest stable or edge ? |
@pgayvallet. I confirm that it's fixed! Sorry for the late confirmation |
I'm still having this issue on Docker for Mac: Version 17.12.0-ce-mac49 (21995) In Container:
Restarting Docker did not help.
which kinda sucks as all my images/containers are gone now. |
Sorry about that. FTR, maybe resizing from the GUI would have addressed the issue. |
I think I'm hitting a similar (or the same) issue on 2.0.3
|
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
If allocated disk space is 128GB, container should be able to use 128GB (or close to).
Actual behavior
Allocated disk space does not have any impact on container disk space, which is 18GB for some reason on my machine.
Information
Docker.raw
formatdiagnostic:
commands run:
This size does not increase with disk usage, which results in errors like this:
and a final
df -h
that looks like this:Steps to reproduce the behavior
Note: Since I haven't seen any other report crop up about this issue, I'm guessing that there is a weirder/sneakier underlying issue, and I am at your full disposal to help resolve this issue.
The text was updated successfully, but these errors were encountered: