You can review your Data Images by using the
$ spawnctl get data-images
$ spawnctl get data-image <ContainerID>
In this tutorial we will create a Data Image, then get the Data Image. We will then review the Data Image information.
As a prerequisite you should've followed the instructions to install spawnctl
Create a file
development.yamlwith your Data Image specifications.
sourceType: empty name: dev engine: postgresql
In this case we want to create a PostgreSQL Data Image that is completely empty and is named
Run the following command to create a Data Image.
$ spawnctl create data-image -f ./development.yaml Waiting for data image creation....... Creating data image........... Data image '10001' created!
You can verify your Data Image was properly created by running the following command.
$ spawnctl get data-images NAME IMAGE ID ENGINE STATUS MESSAGE CREATED dev 10001 PostgreSQL 2 Created 3 hours ago
You can also get only that specific image.
$ spawnctl get data-image 10001 NAME IMAGE ID STATUS MESSAGE CREATED dev 10001 2 Created 3 hours ago