Skip to content

Would it be possible to create / run from oci layout? #13836

Description

@lmussier

Description

Hi,

For air gapped scenarios, our project envision the following course of events (it is psudo code).

  1. docker compose publish myApp (as usual)
  2. oras cp --recursive --to-oci-layout myApp_oci_layout
  3. put myApp_oci_layout folder on a removable storage, go far away where internet does not exists
  4. From there, docker compose create oci://myApp_oci_layout - and voilà

There is some tricks to think about like the target platform, oras will copy all archs and we want docker compose create to only take the relevant architecture - I believe it is already handled somehow.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions