docker pull kartoza/postgis:9.6-2.4 mkdir -p pg_data docker run -d -m 2g \ -e POSTGRES_USER=gisuser \ -e POSTGRES_PASS=password \ -e POSTGRES_DBNAME=gisdb \ -e ALLOW_IP_RANGE=0.0.0.0/0 \ -p 5432:5432 \ -v pg_data:/var/lib/postgresql \ --name postgis kartoza/postgis:9.6-2.4