Skip to content
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

docker-for-mac: add a FAQ about reducing the qcow2 size #1100

Merged
merged 2 commits into from
Jan 13, 2017

Conversation

djs55
Copy link
Contributor

@djs55 djs55 commented Jan 12, 2017

Proposed changes

Add a FAQ about reducing the size of the qcow2 on Docker for Mac.

In Docker for Mac 1.12 the only way to free space on the host is to delete the qcow2 which means all containers and images have to be rebuilt.

In Docker for Mac 1.13 there is preliminary support for shrinking the qcow2 file non-destructively using "TRIM" (as also used on SSDs). Unfortunately this isn't (yet) fully automatic -- it runs in the background and requires the app to be occasionally restarted.

In future versions I'm hoping to make this happen automatically in the background.

Related issues

See [docker/for-mac#371]

In Docker for Mac 1.12 the only way to free space on the host is to
delete the qcow2 which means all containers and images have to be
rebuilt.

In Docker for Mac 1.13 there is preliminary support for shrinking the
qcow2 file non-destructively using "TRIM" (as also used on SSDs).
Unfortunately this isn't (yet) fully automatic -- it runs in the
background and requires the app to be occasionally restarted.

Related to [docker/for-mac#371]

Signed-off-by: David Scott <dave.scott@docker.com>
@djs55
Copy link
Contributor Author

djs55 commented Jan 12, 2017

/cc @londoncalling -- what do you think?

@londoncalling
Copy link
Contributor

@djs55 looks good, I will get this in today, along with updates for the Beta's release notes. I might go ahead and add a link to the issue within the FAQ if that's okay.

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
@londoncalling
Copy link
Contributor

LGTM, merging!

@londoncalling londoncalling merged commit 54055db into docker:master Jan 13, 2017
@djs55 djs55 deleted the docker-for-mac-trim branch January 20, 2017 10:09
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