docker-compose icon indicating copy to clipboard operation
docker-compose copied to clipboard

Logging configuration only valid on Linux hosts

Open euantorano opened this issue 7 years ago • 1 comments

It should be documented that the logging configuration as follows only works for Linux based hosts:

    logging:
      driver: syslog
      options:
        tag: "{{.DaemonName}}(image={{.ImageName}};name={{.Name}};id={{.ID}})"

On hosts such as macOS where syslog may not be available show errors such as the following for every service:

ERROR: for dockercompose_mariadb_1  Cannot start service mariadb: failed to initialize logging driver: Unix syslog delivery error

ERROR: for mariadb  Cannot start service mariadb: failed to initialize logging driver: Unix syslog delivery error

ERROR: for memcached  Cannot start service memcached: failed to initialize logging driver: Unix syslog delivery error

euantorano avatar Dec 24 '17 11:12 euantorano

Those files are example files as their name does suggest, personally I would opt to remove any mention of Docker Compose from this repository and rename it simply to Docker or mybb-docker. Documentation could be written and provided for how to use the PHP-FPM based image (from Docker Hub) in a Compose or Swarm environment instead of providing this predefined recipe.

kawaii avatar Dec 28 '17 18:12 kawaii