What is the “RECLAIMABLE” space displayed in docker system df?

前端 未结 2 1575
迷失自我
迷失自我 2021-01-31 14:35

One can use the command docker system df (mirror) (introduced in Docker 1.13.0) to see docker disk usage, e.g.:

username@server:~$ docker system df
TYPE                 


        
2条回答
  •  隐瞒了意图╮
    2021-01-31 14:55

    It's worth mentioning in addition to Kerat's answer, the command you may be looking for to free up space listed as RECLAIMABLE is docker system prune -a --volumes. Volumes will not be pruned by default if you don't include the --volumes flag.

提交回复
热议问题