Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

Logging configuration only valid on Linux hosts #2

Open
euantorano opened this issue Dec 24, 2017 · 1 comment
Open

Logging configuration only valid on Linux hosts #2

euantorano opened this issue Dec 24, 2017 · 1 comment

Comments

@euantorano
Copy link
Member

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
@kawaii
Copy link
Member

kawaii commented Dec 28, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants