img
img copied to clipboard
img: 'manifest' is not an img command
is the manifest command supported?
use-case: Im checking whether the image with a certain tag is available on remote - if not Im rebuilding it:
echo "{\"experimental\":\"enabled\"}" >> ~/.docker/config.json
NOT_AVAILABLE=`img manifest inspect ${IMAGE_DEPENDENCY}:${PACKAGE_MD5} > /dev/null ; echo $?`
if [[ ${NOT_AVAILABLE} == "1" ]];
...
Workaround would be to just use
NOT_AVAILABLE=`img pull ${IMAGE_DEPENDENCY}:${PACKAGE_MD5} > /dev/null ; echo $?`
Hi Jess @jessfraz I have similar question here, and walkaround img pull will not work for me since I have a 30G image...
Is there a better way to quickly check if that image exists?
Thank you
(I did my work and scan through the img usage and seems "no" to my question, but just double check I didn't miss anything...)