A PostGIS container built from mdillon/postgis with a tar file for Census Block Postgres data
158
To use the Census Blocks database, remove the data directory and unzip the tar file containing the Census Blocks data. Then you're ready to go. To start the container:
docker run -itPd --name a-postigs -e POSTGRES_PASSWORD=yourpassword graham3333/postgis-census-blocks
docker ps -a
docker exec -it [YOUR CONTAINER ID HERE, VIEWED USING THE COMMAND ABOVE] bash
To unzip the directory:
rm -r /var/lib/postgresql/data
tar -xzf data.tar.gz -C /var/lib/postgresql
And you're ready to use the database, using the local port, or externally, the port that the container is mapped to. View the results of the docker ps -a command above to see these details.
Content type
Image
Digest
Size
7.5 GB
Last updated
over 9 years ago
docker pull graham3333/postgis-census-blocks