delete data-image
#
OverviewTo delete a data image you can use the delete
command. You cannot delete data images that have data containers.
#
CommandIf you are an admin of your organisation, you can delete data-images within your organisation using the --org
flag.
#
ExamplesDelete a data-image with id 10001
:
Delete a data-image with name dev
:
Delete multiple data-images with ids 10001
, 10002
and 10003
:
Delete multiple data-images with names dev1
, dev2
:
Delete data-image with named dev
and tag testing
:
Delete a data-image with id 10001
that you do not own but is part of your organisation:
#
TutorialIn this tutorial we will create a data image and delete it.
As a prerequisite you should've followed the instructions to install spawnctl
Identify the data image you plan to delete.
In this case we want to delete the data image
10001
.Run the delete command to remove the data image.
You can verify the data image was deleted by running the following command.