Skip to content

Offline/Airgapped Box Caching #95

@shawngmc

Description

@shawngmc

Is it possible to have an offline cache of box images to point to on your local machine or a local HTTP server?

I see that the box definitions are here and the download URLs are configured here. They use an obs:// URL, and I'm not sure what the OBS URL handler actually does - non-standard HTTP/S port or something completely different?

If not, as an enhancement, this has a few benefits:

  • If I can preload images in an build AMI on a metal-class EC2 instance, I can minimize build time on the expensive instance type.
  • If I can host them in S3, I can still pull them faster.
  • I can reduce costs borne by OBS.
  • I can still build locally if my network connection is down, if I'm airgapped, or if the latest image has an issue for me.
  • I can do verification of images before I use them.

Make no mistake, I think the ability to just run and pull is excellent for a lot of use cases - there are just odd edge cases, and I'm odd. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions