kiwi.container Package

Submodules

kiwi.container.docker Module

class kiwi.container.docker.ContainerImageDocker(root_dir, custom_args=None)[source]

Bases: kiwi.container.oci.ContainerImageOCI

Create docker container from a root directory

Attributes

  • root_dir
    root directory path name
  • custom_args
    representation of the containerconfig and its subsections
pack_image_to_file(filename)[source]

Packs the given oci image into the given filename.

Parameters:filename (string) – file name of the resulting packed image

Module Contents

class kiwi.container.ContainerImage[source]

Bases: object

Container Image factory

Parameters:
  • name (string) – container system name
  • root_dir (string) – root directory path name