postgres docker 설치

docker search postgres

docker pull postgres

docker run --name pgsql -d -p 5432:5432 -e POSTGRES_PASSWORD=비밀번호 postgres

docker exec -it pgsql bash

psql -U postgres

CREATE DATABASE first;

alter user postgres with password '비밀번호';

l

c first

ufw allow 5432




댓글