maple.api._container module

Python API for maple

class maple.api._container.Container(**attributes)

Bases: maple.api._maple.Maple

Class to manage containers

property name

Getter for container name

publish(image, command)

Publish a container to an image

run(image, command, options='')

Run a container and commit to image

maple.api._container.Publish(name, image, command)

Standalone publish command

maple.api._container.Run(name, image, command, options='')

Standalone run command