Run update.sh

This commit is contained in:
Docker Library Bot 2017-12-29 19:08:57 +00:00
parent df61526d8d
commit ea4cbcb549
2 changed files with 3 additions and 1 deletions

View File

@ -17,8 +17,8 @@ WARNING:
# Supported tags and respective `Dockerfile` links
- [`2.8`, `2.8.11` (*jessie/2.8.11/Dockerfile*)](https://github.com/arangodb/arangodb-docker/blob/d6fca9a137cd21345b1d380fc0e72daacb6130ce/jessie/2.8.11/Dockerfile)
- [`3.3`, `3.3.0`, `latest` (*stretch/3.3.0/Dockerfile*)](https://github.com/arangodb/arangodb-docker/blob/917d633cb65c0a2cd66a314e8b474f0c17bf949e/stretch/3.3.0/Dockerfile)
- [`3.2`, `3.2.10` (*stretch/3.2.10/Dockerfile*)](https://github.com/arangodb/arangodb-docker/blob/d292cfc4b85fdbfe63ce80a4c5b7971a5abcb1f6/stretch/3.2.10/Dockerfile)
- [`3.3`, `3.3.1`, `latest` (*stretch/3.3.1/Dockerfile*)](https://github.com/arangodb/arangodb-docker/blob/76bd2221694351f8d233ef3047e3637ec06a6bcd/stretch/3.3.1/Dockerfile)
# Quick reference

View File

@ -244,6 +244,8 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir
If there is no database initialized when the container starts, then a default database will be created. While this is the expected behavior, this means that it will not accept incoming connections until such initialization completes. This may cause issues when using automation tools, such as `docker-compose`, which start several containers simultaneously.
If the application you're trying to connect to MySQL does not handle MySQL downtime or waiting for MySQL to start gracefully, then a putting a connect-retry loop before the service starts might be necessary. For an example of such an implementation in the official images, see [WordPress](https://github.com/docker-library/wordpress/blob/1b48b4bccd7adb0f7ea1431c7b470a40e186f3da/docker-entrypoint.sh#L195-L235) or [Bonita](https://github.com/docker-library/docs/blob/9660a0cccb87d8db842f33bc0578d769caaf3ba9/bonita/stack.yml#L28-L44).
## Usage against an existing database
If you start your `mysql` container instance with a data directory that already contains a database (specifically, a `mysql` subdirectory), the `$MYSQL_ROOT_PASSWORD` variable should be omitted from the run command line; it will in any case be ignored, and the pre-existing database will not be changed in any way.