-
-
Notifications
You must be signed in to change notification settings - Fork 485
Add usefull commands for cleanimg docker ecosystem #9
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
Conversation
Hi there, thanks ;-)
I run docker system command and I can't find the clean option.
docker system
Usage: docker system COMMAND
Manage Docker
Options:
--help Print usage
Commands:
df Show docker disk usage
events Get real time events from the server
info Display system-wide information
prune Remove unused data
This is my Docker version:
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:09:06 2017
OS/Arch: linux/amd64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:09:06 2017
OS/Arch: linux/amd64
Experimental: false
Is this the same version you're running ?
Do you have any link to the documentation of docker system clean all ?
Note that in windows and linux/mac this has a different behavior.... in linux/mac prune will "reclaim" the disk space.. however sadly in windows it only goes up and up... which at a certain point you are forced to manually "resize" the whole docker disk image
@ozlevka-ericom thanks but I can't see your code updated with the new commands, I still see the docker system clean command.
@milewski yes, it would be great if we add it as a comment to this git along with the docker prune command
@eon01 I'm sorry for delay.
Right now I commit new correct commands
@milewski What docker version you speaking about?
the latest as from today.. but it seens more to be like a bug with docker...
as pointed out here in this comment removing container with -v before pruning "reclaim" disk space
@ozlevka-ericom I merged your PR. Thanks 👍
Add clean all
And clean all unused command in Remove section