kiwi.container Package

Submodules

kiwi.container.docker Module

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

Bases: object

Create docker container from a root directory

Attributes

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

Create compressed docker system container tar archive

Parameters:
  • filename (string) – archive file name
  • base_image (string) – archive used as a base 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