도커 컨테이너 구동 스크립트를 다음과 같이 작성하였습니다. #!/bin/bash # PostgreSQL 컨테이너 구동 스크립트 # server : dev # date : 2022-03-10 # author : hanwh@hunature.net CONTAINER_NAME=postgres CONTAINER_LOG=/home/logs/${CONTAINER_NAME}.log CONTAINER_TAG=10-3.2-alpine PG_DB_DATA_DIR=/home/dts/pg_data PG_PORT=5432 echo "========"tee -a ${CONTAINER_LOG} echo "[$(date +%Y-%m-%d) $(date +%H:%M:%S)] $0 $@"tee -a ${CONTAINER_LOG} # pr..