delete data-container
#
OverviewTo delete a data container use the delete
command.
#
CommandIf you are an admin of your organisation, you can delete data-containers within your organisation using the --org
flag.
#
ExamplesDelete a data-container with id 10001
:
Delete a data-container with name dev-rambbomj
:
Delete multiple data-container with ids 10001
, 10002
and 10003
:
Delete multiple data-container with names dev-rambbomj
, dev-wtejgstr
:
Delete a data-container with id 10001
that you do not own but is part of your organisation:
#
TutorialIn this tutorial we will create a data image, then create a data container from that image and finally delete the data-container.
As a prerequisite you should've followed the instructions to install spawnctl
Create a file
development.yaml
with your data image specifications.In this case we want to create a PostgreSQL data image that is completely empty and is named
dev
.Run the following command to create a data image.
You can verify your data image by running the following command.
Create a data container from the newly created data image.
You can verify your data container was properly created by running the following command.
You should now be able to delete your data container.