better prune and system df
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
@@ -67,7 +67,7 @@ func runPrune(dockerCli *command.DockerCli, opts pruneOptions) (spaceReclaimed u
|
||||
return
|
||||
}
|
||||
|
||||
// RunPrune call the Volume Prune API
|
||||
// RunPrune calls the Volume Prune API
|
||||
// This returns the amount of space reclaimed and a detailed output string
|
||||
func RunPrune(dockerCli *command.DockerCli) (uint64, string, error) {
|
||||
return runPrune(dockerCli, pruneOptions{force: true})
|
||||
|
||||
Reference in New Issue
Block a user