Skip to content

Possibility to define in fig.yml if container should be created or not #542

@vidarl

Description

@vidarl

There are use-cases where you want to create base images ( which you'll use for creating other images ), but you don't need any containers from those images.

There are also use-cases where you want containers to be created, but purged once they ends ( like docker run --rm ... )

This could be configurable with the following syntax:

ubuntu:
  build: dockerfiles/ubuntu
  create_container: false # true is default
foobar:
  build: dockerfiles/foobar
  remove_container: true # false is default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions