Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

img: 'manifest' is not an img command #337

Open
InsOpDe opened this issue Apr 18, 2021 · 1 comment
Open

img: 'manifest' is not an img command #337

InsOpDe opened this issue Apr 18, 2021 · 1 comment

Comments

@InsOpDe
Copy link

InsOpDe commented Apr 18, 2021

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 $?`
@keypointt
Copy link

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...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants