Empty
#
OverviewIf you define the sourceType
property as empty
you will be able to create a data image that is completely empty, with no content on it.
In this case we want to create a PostgreSQL data image whose source is empty
and is named dev
.
#
TutorialIn this tutorial we will create an empty
data image and then use it to create a data container. We will then inspect the data container.
Create a file
development.yaml
with your data image specifications.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 connect to your database and execute queries.
In this example we connect to the PostgreSQL data container (database) using psql.
Notice the created database/data container has no tables.