logs data-container
#
OverviewUsing spawnctl
, you can get the logs of a running data container.
#
Command#
TutorialIn this tutorial we will create a data image and then use it to create a data container. Then, we will get the logs of that 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 can now get the logs of the data container using the
spawnctl logs data-container
command.