title: Type "geometry" does not exists
body: <p>I'm trying to construct a Docker image with a PostgreSQL and PostGIS database for one of our products. Although constructing the image (and container) isn't that hard and works, based on off <a href="https://github.com/helmi03/docker-postgis" rel="nofollow">another PostGIS image</a>. However when adding the ddl for constructing the database I'm running into issues.</p>
  
  <p>I've constantly get the message: <code>ERROR:  type "geometry" does not exist</code>. Because of this I've read and read on the internet and the main root seemed to be that I didn't properly initialize PostGIS Extensions. So I did that on a template table and running <code>SELECT postgis_full_version()</code> returns <code>POSTGIS="2.1.3 r12547" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.10.1, released 2013/08/26" LIBXML="2.9.1" LIBJSON="UNKNOWN" TOPOLOGY RASTER</code> which seems to be alright. However still no dice...</p>
  
  <p>Also after checking the available datatypes in the public schema via <code>\dT</code> I get that <code>geometry</code> type is available. That's why I'm a bit clueless here, since everything seems fine.</p>
  
  <p>Anybody have any ideas how I can resolve this issue, or what I could look for?</p>
  
  <p>Used versions:</p>
  
  <ul>
  <li>Ubuntu 14.04 (Trusty)</li>
  <li>PostgreSQL version: 9.3</li>
  <li>PostGIS version: 2.1</li>
  </ul>
  
  <p>Edit: I'm trying again and tried to creating the extensions, than stopping PostgreSQL, running <code>ldconfig</code> (to reload lib's) and starting PostgreSQL again, but the same issue still persists.</p>