From f4fe0bef9031f1b02df9b593355dc51306c4ffc0 Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Tue, 2 May 2017 00:10:54 +0000 Subject: [PATCH] Config docker-database's log-driver and log-opt --- rules/docker-database.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/docker-database.mk b/rules/docker-database.mk index 991f41ce411b..9d127c11d01b 100644 --- a/rules/docker-database.mk +++ b/rules/docker-database.mk @@ -8,6 +8,6 @@ SONIC_DOCKER_IMAGES += $(DOCKER_DATABASE) SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_DATABASE) $(DOCKER_DATABASE)_CONTAINER_NAME = database -$(DOCKER_DATABASE)_RUN_OPT += --net=host --privileged -t +$(DOCKER_DATABASE)_RUN_OPT += --net=host --privileged -t --log-driver=syslog --log-opt=tag="{{.ID}}({{.Name}})" $(DOCKER_DATABASE)_BASE_IMAGE_FILES += redis-cli:/usr/bin/redis-cli