What is the most appropriate (smallest, simplest) container to use for a data only Docker container?
In the documentation they use the training/postgres container. Howe
Update: Now that we have named volumes, you generally don't want to use data containers at all.
Use the same image for the data container - in this case the Postgres image. You don't leave data containers running, so it won't consume resources.
Using the same image is important for several reasons:
For more information see Data Only Container Madness.