Ver Fonte

Run update.sh

Docker Library Bot há 7 anos atrás
pai
commit
123747e3db
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      postgres/README.md

+ 2 - 0
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.