![]() listening inside and outside the container on port 5432, both IPv4 and IPv6.This image includes PostgreSQL 9.5 compiled from source, with the following details: :HINT: Future log output will appear in directory "pg_log". Server :LOG: redirecting log output to logging collector process In order to get started, you'll want to run it interactively, then switch to the postgres user and start PostgreSQL: It is built from the postgres-test-container project. It is also a very large image, because it includes quite a bit of stuff. This is an interactive image, meaning that you'll be given a shell on the command line inside the image. You can always grab the latest test image simply by installing jberkus/postgres95-test. jberkus/postgres95-test:alpha PostgreSQL 9.5 alpha 1 release.jberkus/postgres95-test:alpha2 PostgreSQL 9.5 Alpha 2 Release.In Kitematic, you can add the volumes through the graphical interface. Note that the volumes command needs an absolute path the one above is an example. For example:ĭocker run -it -volume "/home/user/postgres/tests:/tests" jberkus/postgres95-test:alpha We suggest mounting one or more volumes from your machine with things you can test in them. On the command line, it's as simple as:įor Mac and Windows users, we recommend Kitematic, which gives an an easy graphical install. Then install the image from the Docker Hub. Here's some ideas on doing alpha/beta testing.įirst, you need to have Docker installed. They also allow you to do "destructive" testing because the instance you are running PostgreSQL on is temporary. The PostgreSQL Testing Docker Images are built so that you can test new versions of PostgreSQL without having to go through installation, configuration, and possibly clobbering your local installation of PostgreSQL in the process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |