Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.
This repository was archived by the owner on Mar 11, 2020. It is now read-only.

why not have input/output volumes #27

@sjpotter

Description

@sjpotter

Currently, it seems the way that one has to transfer data from the input VM image image to the output container image is for the detectives to tar up data and for then have it be extracted in the triggered provisioner.

The issue is that this only lets one easily copy data that is within a single tree, not something where one has to pick and choose files.

It further prevents easy modification of the artifact that is created.

For instance, take the demo case with Apache. If one wants to modify the Apache instance, one either has to extract the configuration tarball, modify it and recreate it, or add another layer just to handle that configuration change.

Instead of dealing with output tarballs, wouldn't it be easier to create output volumes where data can be copied to during the detective stage and leveraged during the provisioning stage (i.e. instead of an ADD <tarball> / it be ADD <directory that was volume> /

I this way, one could

  1. more easily programatically decide what will be fetched

  2. enable one's created artifact to be checked into a repo, modified as needed over time, and rebuilt on demand.

thoughts?

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