diff --git a/README.md b/README.md index f1e51da..9f8409a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Table of Contents - [Introduction](#introduction) +- [Reporting Issues](#reporting-issues) - [Installation](#installation) - [Quick Start](#quick-start) - [Configuration](#configuration) @@ -7,11 +8,38 @@ - [Securing the server](#securing-the-server) - [Shell Access](#shell-access) - [Upgrading](#upgrading) -- [Issues](#issues) # Introduction Dockerfile to build a PostgreSQL container image which can be linked to other containers. +# Reporting Issues + +Docker is a relatively new project and is active being developed and tested by a thriving community of developers and testers and every release of docker features many enhancements and bugfixes. + +Given the nature of the development and release cycle it is very important that you have the latest version of docker installed because any issue that you encounter might have already been fixed with a newer docker release. + +For ubuntu users I suggest [installing docker](https://docs.docker.com/installation/ubuntulinux/) using docker's own package repository since the version of docker packaged in the ubuntu repositories are a little dated. + +Here is the shortform of the installation of an updated version of docker on ubuntu. + +```bash +sudo apt-get purge docker.io +curl -s https://get.docker.io/ubuntu/ | sudo sh +sudo apt-get update +sudo apt-get install lxc-docker +``` + +Fedora and RHEL/CentOS users should try disabling selinux with `setenforce 0` and check if resolves the issue. If it does than there is not much that I can help you with. You can either stick with selinux disabled (not recommended by redhat) or switch to using ubuntu. + +If using the latest docker version and/or disabling selinux does not fix the issue then please file a issue request on the [issues](https://github.com/sameersbn/docker-postgresql/issues) page. + +In your issue report please make sure you provide the following information: + +- The host ditribution and release version. +- Output of the `docker version` command +- Output of the `docker info` command +- The `docker run` command you used to run the image (mask out the sensitive bits). + # Installation Pull the latest version of the image from the docker index. This is the recommended method of installation as it is easier to update image in the future. These builds are performed by the **Docker Trusted Build** service. @@ -131,6 +159,3 @@ docker pull sameersbn/postgresql:latest ```bash docker run --name postgresql -d [OPTIONS] sameersbn/postgresql:latest ``` - -# Issues -Please report issues [here](https://github.com/sameersbn/docker-postgresql/issues)