R
R
Rahat2020-05-07 18:16:39
PostgreSQL
Rahat, 2020-05-07 18:16:39

How to raise a postgresql database in a new Docker container?

In a new container, I need to raise the base so that later I can work in it and create a table
. But somehow I don’t fully understand how to do this, and the way I see it is like this, what should I do next or tell me an article for this , pliz and then I'm at an impasse.
sudo docker -t for-db .

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-05-07
@hempy80

Why raise something if there is a ready-made official image? docerhub

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question