From ea4cbcb549b1d18e12c8287c42c9851830c13974 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Fri, 29 Dec 2017 19:08:57 +0000 Subject: [PATCH] Run update.sh --- arangodb/README.md | 2 +- mysql/README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arangodb/README.md b/arangodb/README.md index 1cb3636c2..dc3de27cd 100644 --- a/arangodb/README.md +++ b/arangodb/README.md @@ -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 diff --git a/mysql/README.md b/mysql/README.md index 6e036aff1..353b02f73 100644 --- a/mysql/README.md +++ b/mysql/README.md @@ -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.