vim docker_load_postgis.sh
# 创建主机映射目录
mkdir -p /home/docker-postgis/pgdata
chown 755 -R /home/docker-postgis
# 挂载运行容器
docker run \
--name postgis \
-p 5432:5432 \
--restart=always \
vim docker_load_postgis.sh
# 创建主机映射目录
mkdir -p /home/docker-postgis/pgdata
chown 755 -R /home/docker-postgis
# 挂载运行容器
docker run \
--name postgis \
-p 5432:5432 \
--restart=always \