From 123747e3db5ff41b5fdace5f0815f7a1e639b8b5 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 11 Oct 2018 20:09:15 +0000 Subject: [PATCH] Run update.sh --- postgres/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postgres/README.md b/postgres/README.md index d1fa0885e..58a1918ed 100644 --- a/postgres/README.md +++ b/postgres/README.md @@ -281,6 +281,8 @@ When using the Alpine variants, any postgres extension not listed in [postgres-c If there is no database when `postgres` starts in a container, then `postgres` will create the default database for you. While this is the expected behavior of `postgres`, this means that it will not accept incoming connections during that time. This may cause issues when using automation tools, such as `docker-compose`, that start several containers simultaneously. +Also note that the default `/dev/shm` size for containers is 64MB. If the shared memory is exhausted you will encounter `ERROR: could not resize shared memory segment . . . : No space left on device`. You will want to pass [`--shm-size=256MB`](https://docs.docker.com/engine/reference/run/#runtime-constraints-on-resources) for example to `docker run`, or alternatively in [`docker-compose`](https://docs.docker.com/compose/compose-file/#shm_size) + # Image Variants The `postgres` images come in many flavors, each designed for a specific use case.