Sign inSign up

leeyom/postgres

By leeyom

•Updated about 4 years ago

Image
0

17

leeyom/postgres repository overview

[root@node01 ~]# docker run --name postgresdb -p 5432:5432 -e POSTGRES_PASSWORD=123456 -d postgres

Digest: sha256:f329d076a8806c0ce014ce5e554ca70f4ae9407a16bb03baa7fef287ee6371f1

Status: Downloaded newer image for docker.io/postgres:latest

c1aad46869639808bc1b4fa21027d826537b4b6de9943d6a3ac7315be44a7a14

[root@node01 ~]# docker exec -it postgresdb bash

root@c1aad4686963:/# psql -U postgres

psql (14.1 (Debian 14.1-1.pgdg110+1)) Type "help" for help.

postgres=# CREATE DATABASE confluence WITH OWNER postgres;

CREATE DATABASE

postgres=# \q

Tag summary

Content type

Image

Digest

sha256:92876cecc…

Size

130.6 MB

Last updated

about 4 years ago

docker pull leeyom/postgres:14.1