Docker to clean Windows

I am using docker for Windows to start the MSSQL server. Everything is working fine, except that my hard drive is now full. I used all the cleaning commands that the docker has, deleting all the images and containers:

docker kill $(docker ps -q)
docker rm $(docker ps -a -q)
docker rmi $(docker images -q -f dangling=true)
docker rmi $(docker images -q)

This will not delete the contents in the c: \ ProgramData \ Docker \ windowsfilter folder, where there are many more files. Approximately 130 GB storage, without any running containers or saved images.

Client:
 Version:      17.03.1-ce
 API version:  1.27
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Tue Mar 28 00:40:02 2017
 OS/Arch:      windows/amd64

Server:
 Version:      17.03.1-ce
 API version:  1.27 (minimum version 1.24)
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Tue Mar 28 00:40:02 2017
 OS/Arch:      windows/amd64
 Experimental: true

I tried using docker-ci-zap ( https://github.com/jhowardmsft/docker-ci-zap ), but running this tool is not recommended, so I would rather use an alternative solution

+6
source share
2 answers

Docker 1.13 ( 2017), Docker ( ):

    • ,

, Docker Windows Docker Mac, , , , "factory " .

+1

. .

docker rmi

, linux.

Windows, .

0

Source: https://habr.com/ru/post/1016726/


All Articles