Answers for "docker get image size before pull acr"

0

docker get image size before pull acr

#For Microsoft Container Registry
#To enable docker manifest inspect, edit ~/.docker/config.json file and set experimental to enable.

docker manifest inspect -v <registry-domain>/<image-name> | grep size | awk -F ':' '{sum+=$NF} END {print sum}' | numfmt --to=iec-i
Posted by: Guest on October-14-2021
0

docker get image size before pull acr

#For Microsoft Container Registry
#To enable docker manifest inspect, edit ~/.docker/config.json file and set experimental to enable.

docker manifest inspect -v <registry-domain>/<image-name> | grep size | awk -F ':' '{sum+=$NF} END {print sum}' | numfmt --to=iec-i
Posted by: Guest on October-14-2021

Code answers related to "docker get image size before pull acr"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language