Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
eon01 merged 2 commits into eon01:master from ozlevka-work:master
Sep 4, 2017

Conversation

@ozlevka-work
Copy link
Contributor

@ozlevka-work ozlevka-work commented Sep 3, 2017

Add clean all
And clean all unused command in Remove section

Copy link
Owner

eon01 commented Sep 3, 2017

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 ?

Copy link
Contributor Author

ozlevka-work commented Sep 4, 2017 via email
edited
Loading

You right . I fix the pull request It's should be docker system prune Lev Ozeryansky Senior Software Developer
...
____________________________________________
________________________________ From: Aymen EL Amri <notifications@github.com> Sent: Sunday, September 3, 2017 3:03:58 PM To: eon01/DockerCheatSheet Cc: Lev Ozeryansky; Author Subject: Re: [eon01/DockerCheatSheet] Add usefull commands for cleanimg docker ecosystem (#9) 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 ? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<#9 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AZJ_1zux7p3Np7Azrzs58TpSKFPv6Rrtks5sepWtgaJpZM4PLHkl>.

Copy link
Contributor

milewski commented Sep 4, 2017

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

Copy link
Owner

eon01 commented Sep 4, 2017

@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

Copy link
Contributor Author

@eon01 I'm sorry for delay.
Right now I commit new correct commands

Copy link
Contributor Author

@milewski What docker version you speaking about?

@eon01 eon01 merged commit d521267 into eon01:master Sep 4, 2017
Copy link
Contributor

milewski commented Sep 4, 2017

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

Copy link
Owner

eon01 commented Sep 4, 2017

@ozlevka-ericom I merged your PR. Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /