maple.backend.policy.base.PolicyBackend.pull_image

PolicyBackend.pull_image() Dict

Pull or verify the policy Docker image.

Attempts to pull the image from a registry. If pull fails, checks if the image exists locally. If neither succeeds, raises an error with build instructions.

Returns:

Dictionary with image information and source (pulled/local).