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




댓글

이 블로그의 인기 게시물

LSF (GPU 스케쥴링) 명령어 사용법

CentOS 7 리부팅 없이 새 디스크 인식 (find a new disk without reboot)

python에서 hive 사용