Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't error when image pull fails and image exists:
HookOS recently got the capability to embed container images. With this capability, pulling an image is not desired. This is expecially true if the image name is not resolvable or there is no network connection to the registry. An image name 127.0.0.1/embedded/myimage, for example. Currently, tink worker will always try to pull an image and will fail if the image pull fails. To allow for embedded images to function properly, when an image pull fails we check if the image already exists in the local Docker cache. If it does we don't fail the method call. Signed-off-by: Jacob Weinstock <[email protected]>
- Loading branch information