Run update.sh
This commit is contained in:
parent
0b388c1584
commit
a14c18e061
|
|
@ -86,3 +86,13 @@ This yields us a virtual image size of about 184MB image.
|
|||
## Documentation
|
||||
|
||||
This image is well documented. [Check out the documentation at Viewdocs](http://gliderlabs.viewdocs.io/docker-alpine).
|
||||
|
||||
# License
|
||||
|
||||
View [license information](https://pkgs.alpinelinux.org) for the software contained in this image.
|
||||
|
||||
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
|
||||
|
||||
Some additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `alpine/` directory](https://github.com/docker-library/repo-info/tree/master/repos/alpine).
|
||||
|
||||
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ WARNING:
|
|||
|
||||
# Supported tags and respective `Dockerfile` links
|
||||
|
||||
- [`7.4.3` (*7.4/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/cc451976feb20c6bd7ec47d1ddbff96d9f3d6359/7.4/Dockerfile)
|
||||
- [`7.5.4`, `latest` (*7.5/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/cc451976feb20c6bd7ec47d1ddbff96d9f3d6359/7.5/Dockerfile)
|
||||
- [`7.5.4` (*7.5/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/8d93ed625153a8446b7be1b6bd18f137af63815f/7.5/Dockerfile)
|
||||
- [`7.6.0`, `latest` (*7.6/Dockerfile*)](https://github.com/Bonitasoft-Community/docker_bonita/blob/8d93ed625153a8446b7be1b6bd18f137af63815f/7.6/Dockerfile)
|
||||
|
||||
# Quick reference
|
||||
|
||||
|
|
|
|||
|
|
@ -140,3 +140,13 @@ $ docker run -ti -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 80:80 local/c7-systemd-h
|
|||
```
|
||||
|
||||
This container is running with systemd in a limited context, with the cgroups filesystem mounted. There have been reports that if you're using an Ubuntu host, you will need to add `-v /tmp/$(mktemp -d):/run` in addition to the cgroups mount.
|
||||
|
||||
# License
|
||||
|
||||
View [license information](https://www.centos.org/legal/) for the software contained in this image.
|
||||
|
||||
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
|
||||
|
||||
Some additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `centos/` directory](https://github.com/docker-library/repo-info/tree/master/repos/centos).
|
||||
|
||||
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@ WARNING:
|
|||
|
||||
# Supported tags and respective `Dockerfile` links
|
||||
|
||||
- [`20.1.7`, `20.1`, `20`, `latest` (*20/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/b458125e4336680c6de731c09041c9a13813eb50/20/Dockerfile)
|
||||
- [`20.1.7-slim`, `20.1-slim`, `20-slim`, `slim` (*20/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/b458125e4336680c6de731c09041c9a13813eb50/20/slim/Dockerfile)
|
||||
- [`20.1.7-alpine`, `20.1-alpine`, `20-alpine`, `alpine` (*20/alpine/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/b458125e4336680c6de731c09041c9a13813eb50/20/alpine/Dockerfile)
|
||||
- [`20.2`, `20`, `latest` (*20/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/81a60bee4a77e6127ef40009d3314f1237799b40/20/Dockerfile)
|
||||
- [`20.2-slim`, `20-slim`, `slim` (*20/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/81a60bee4a77e6127ef40009d3314f1237799b40/20/slim/Dockerfile)
|
||||
- [`20.2-alpine`, `20-alpine`, `alpine` (*20/alpine/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/81a60bee4a77e6127ef40009d3314f1237799b40/20/alpine/Dockerfile)
|
||||
- [`19.3.6.4`, `19.3.6`, `19.3`, `19` (*19/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/f2a72a89e764bfab03a9f6018f628c63ee7632b8/19/Dockerfile)
|
||||
- [`19.3.6.4-slim`, `19.3.6-slim`, `19.3-slim`, `19-slim` (*19/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/f2a72a89e764bfab03a9f6018f628c63ee7632b8/19/slim/Dockerfile)
|
||||
- [`18.3.4.7`, `18.3.4`, `18.3`, `18` (*18/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/572df91d94de857de661df30f33508e472c300a9/18/Dockerfile)
|
||||
|
|
|
|||
|
|
@ -16,12 +16,12 @@ WARNING:
|
|||
|
||||
# Supported tags and respective `Dockerfile` links
|
||||
|
||||
- [`9.2.1`, `9.2`, `9`, `latest` (*9/Dockerfile*)](https://github.com/nodejs/docker-node/blob/3779ff3b516feb666742cc391f5a36de2ed6bf4d/9/Dockerfile)
|
||||
- [`9.2.1-alpine`, `9.2-alpine`, `9-alpine`, `alpine` (*9/alpine/Dockerfile*)](https://github.com/nodejs/docker-node/blob/3779ff3b516feb666742cc391f5a36de2ed6bf4d/9/alpine/Dockerfile)
|
||||
- [`9.2.1-onbuild`, `9.2-onbuild`, `9-onbuild`, `onbuild` (*9/onbuild/Dockerfile*)](https://github.com/nodejs/docker-node/blob/3779ff3b516feb666742cc391f5a36de2ed6bf4d/9/onbuild/Dockerfile)
|
||||
- [`9.2.1-slim`, `9.2-slim`, `9-slim`, `slim` (*9/slim/Dockerfile*)](https://github.com/nodejs/docker-node/blob/3779ff3b516feb666742cc391f5a36de2ed6bf4d/9/slim/Dockerfile)
|
||||
- [`9.2.1-stretch`, `9.2-stretch`, `9-stretch`, `stretch` (*9/stretch/Dockerfile*)](https://github.com/nodejs/docker-node/blob/3779ff3b516feb666742cc391f5a36de2ed6bf4d/9/stretch/Dockerfile)
|
||||
- [`9.2.1-wheezy`, `9.2-wheezy`, `9-wheezy`, `wheezy` (*9/wheezy/Dockerfile*)](https://github.com/nodejs/docker-node/blob/3779ff3b516feb666742cc391f5a36de2ed6bf4d/9/wheezy/Dockerfile)
|
||||
- [`9.3.0`, `9.3`, `9`, `latest` (*9/Dockerfile*)](https://github.com/nodejs/docker-node/blob/a7e88f1dd2102689180f485c51133212f45fa064/9/Dockerfile)
|
||||
- [`9.3.0-alpine`, `9.3-alpine`, `9-alpine`, `alpine` (*9/alpine/Dockerfile*)](https://github.com/nodejs/docker-node/blob/a7e88f1dd2102689180f485c51133212f45fa064/9/alpine/Dockerfile)
|
||||
- [`9.3.0-onbuild`, `9.3-onbuild`, `9-onbuild`, `onbuild` (*9/onbuild/Dockerfile*)](https://github.com/nodejs/docker-node/blob/a7e88f1dd2102689180f485c51133212f45fa064/9/onbuild/Dockerfile)
|
||||
- [`9.3.0-slim`, `9.3-slim`, `9-slim`, `slim` (*9/slim/Dockerfile*)](https://github.com/nodejs/docker-node/blob/a7e88f1dd2102689180f485c51133212f45fa064/9/slim/Dockerfile)
|
||||
- [`9.3.0-stretch`, `9.3-stretch`, `9-stretch`, `stretch` (*9/stretch/Dockerfile*)](https://github.com/nodejs/docker-node/blob/a7e88f1dd2102689180f485c51133212f45fa064/9/stretch/Dockerfile)
|
||||
- [`9.3.0-wheezy`, `9.3-wheezy`, `9-wheezy`, `wheezy` (*9/wheezy/Dockerfile*)](https://github.com/nodejs/docker-node/blob/a7e88f1dd2102689180f485c51133212f45fa064/9/wheezy/Dockerfile)
|
||||
- [`8.9.3`, `8.9`, `8`, `carbon` (*8/Dockerfile*)](https://github.com/nodejs/docker-node/blob/6b8d86d6ad59e0d1e7a94cec2e909cad137a028f/8/Dockerfile)
|
||||
- [`8.9.3-alpine`, `8.9-alpine`, `8-alpine`, `carbon-alpine` (*8/alpine/Dockerfile*)](https://github.com/nodejs/docker-node/blob/6b8d86d6ad59e0d1e7a94cec2e909cad137a028f/8/alpine/Dockerfile)
|
||||
- [`8.9.3-onbuild`, `8.9-onbuild`, `8-onbuild`, `carbon-onbuild` (*8/onbuild/Dockerfile*)](https://github.com/nodejs/docker-node/blob/6b8d86d6ad59e0d1e7a94cec2e909cad137a028f/8/onbuild/Dockerfile)
|
||||
|
|
|
|||
|
|
@ -75,7 +75,8 @@ $ docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postg
|
|||
|
||||
This image includes `EXPOSE 5432` (the postgres port), so standard container linking will make it automatically available to the linked containers. The default `postgres` user and database are created in the entrypoint with `initdb`.
|
||||
|
||||
> The postgres database is a default database meant for use by users, utilities and third party applications.
|
||||
> The postgres database is a default database meant for use by users, utilities and third party applications.
|
||||
>
|
||||
> [postgresql.org/docs](http://www.postgresql.org/docs/9.5/interactive/app-initdb.html)
|
||||
|
||||
## connect to it from an application
|
||||
|
|
@ -240,6 +241,30 @@ ENV LANG de_DE.utf8
|
|||
|
||||
Since database initialization only happens on container startup, this allows us to set the language before it is created.
|
||||
|
||||
## Database Configuration
|
||||
|
||||
There are many ways to set PostgreSQL server configuration. For information on what is available to configure, see the postgresql.org [docs](https://www.postgresql.org/docs/current/static/runtime-config.html) for the specific version of PostgreSQL that you are running. Here are a few options for setting configuration:
|
||||
|
||||
- Use a custom config file. Create a config file and get it into the container. If you need a starting place for your config file you can use the sample provided by PostgreSQL which is available in the container at `/usr/share/postgresql/postgresql.conf.sample`.
|
||||
|
||||
- **Important note:** you must set `listen_addresses = '*'`so that other containers will be able to access postgres.
|
||||
|
||||
```console
|
||||
$ # get the default config
|
||||
$ docker run -i --rm postgres cat /usr/share/postgresql/postgresql.conf.sample > my-postgres.conf
|
||||
|
||||
$ # customize the config
|
||||
|
||||
$ # run postgres with custom config
|
||||
$ docker run -d --name some-postgres -v "$PWD/my-postgres.conf":/etc/postgresql/postgresql.conf postgres -c 'config_file=/etc/postgresql/postgresql.conf'
|
||||
```
|
||||
|
||||
- Set options directly on the run line. The entrypoint script is made so that any options passed to the docker command will be passed along to the `postgres` server daemon. From the [docs](https://www.postgresql.org/docs/current/static/app-postgres.html) we see that any option available in a `.conf` file can be set via `-c`.
|
||||
|
||||
```console
|
||||
$ docker run -d --name some-postgres postgres -c 'shared_buffers=256MB' -c 'max_connections=200'
|
||||
```
|
||||
|
||||
# Caveats
|
||||
|
||||
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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue