A data image is the source for future data containers that you will create with Spawn, they contain everything needed for the database engine as well as the databases and optionally, data. Data images can be created as empty or from backup/script files.
Spawn is currently in open beta. Complete the installation instructions to get access.
This is the second in a series of short guides for getting up and running quickly with Spawn.
Similar to Docker, an image is created based on a definition contained in a file. To get started quickly, we will create a simple image which will allow us to create an empty PostgreSQL container.
Create a file
development.yamlwith your data image specifications.sourceType: emptyname: devengine: postgresqlversion: 11.0
Interested in other engines? Go to our data image page to see how you can use other engines we support.
To create the data image, we simply run a spawnctl command referencing the file created above.
View all your data images using the following command.
Now you have a data image available, you can create data containers.