maple.api._image module
Python API for maple
- class maple.api._image.Image(**attributes)
Bases:
maple.api._maple.Maple
Class to manage images
- Parameters
**attributes (dictionary of user attributes) –
- { ‘base’remote image name,
’name’ : name of the image, ‘backend’ : container backend - docker/singularity
- build(command=None, options='')
Builds a local image from base image
- delete()
Delete the image
- property name
Getter for image name
- property platform
Getter for image platform
- squash()
Squash an the image