dev-resources.site
for different kinds of informations.
Remove unnecessary Docker resources.
Published at
4/19/2019
Categories
docker
Author
sot528
Categories
1 categories in total
docker
open
Problem
Using Docker for Mac long time uses large storage spaces.
sot-mbp:clean_docker_resources sot528$ docker system df
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 152 2 37.57GB 35.79GB (95%)
Containers 4 0 35.8MB 35.8MB (100%)
Local Volumes 4 0 7.118MB 7.118MB (100%)
Build Cache 0 0 0B 0B
Solution
docker system prune
Then, SIZE is be around 30GB.
And remove old images without recent 10 images.
docker rmi -f $(docker images | sed -n '10,$p')
Result
Good!
sot-mbp:clean_docker_resources sot528$ docker system df
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 7 0 5.337GB 5.337GB (100%)
Containers 0 0 0B 0B
Local Volumes 4 0 7.118MB 7.118MB (100%)
Build Cache 0 0 0B 0B
Environment
- macOS Mojave 10.14.3(18D109)
- Docker version 18.09.2, build 6247962
Articles
11 articles in total
Delete CircleCI's invisible AWS credentials
read article
Remove unnecessary Docker resources.
currently reading
Install and Update Solidity(solc) in Mac
read article
Try Vyper in Truffle v5.
read article
Run levelDB + Node.js in 1 min on Docker
read article
Try to run libp2p(js-libp2p) anyway.
read article
Ethereum:New Solidity constructor
read article
"Route did not stabilize in expected time" on CloudFromation
read article
EC2にEthereumメインネットのparityノードを立てる
read article
暗号通貨の相場をターミナルで表示する
read article
Renamed tools in Ethereum
read article
Featured ones: