Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 369 Bytes

docker-tools.md

File metadata and controls

14 lines (14 loc) · 369 Bytes

#####1. Get all image tags

curl -k https://index.docker.io/v1/repositories/deshuai/ruby-20-centos7/tags | python -mjson.tool

#####2. Docker images related command

docker rmi $(docker images -q)
docker images --filter "dangling=true"
docker images -q

#####3. Get inodes summay

df -i|awk 'NR>1 {print $3}'|awk '{sum+=$1} END {print "sum =", sum}'