A
A
Alexey Nikolaev2019-11-03 17:11:46
Windows
Alexey Nikolaev, 2019-11-03 17:11:46

How to free up space in Docker on Windows?

Good day.
The hard disk image created by Docker is 40 gigs. At the same time, I deleted all unused images and containers via the console (docker image rm, docker container rm), then I did prune all and deleted everything completely clean. In the console, they write to me that there is no data (no docker images, no docker ps -a containers), but the image in ProgramData \ DockerDesktop still weighs tens of gigabytes.
Where did the place go and how to free it without deleting this file physically?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2019-11-03
@Heian

Looks like this is an old issue - https://github.com/docker/for-win/issues/244.
It arises due to the fact that containers are not launched under Windows, but under a Linux virtual machine. And how to reduce its disk is not easy.
Try optimize-vhd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question