2016-12-05 13:12:19 -06:00
|
|
|
# docker platform monitor image
|
|
|
|
|
|
|
|
DOCKER_PLATFORM_MONITOR = docker-platform-monitor.gz
|
|
|
|
$(DOCKER_PLATFORM_MONITOR)_PATH = $(DOCKERS_PATH)/docker-platform-monitor
|
2017-02-07 20:11:19 -06:00
|
|
|
$(DOCKER_PLATFORM_MONITOR)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE)
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2017-02-07 20:11:19 -06:00
|
|
|
SONIC_SIMPLE_DOCKER_IMAGES += $(DOCKER_PLATFORM_MONITOR)
|
2017-02-01 15:02:08 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_PLATFORM_MONITOR)
|
|
|
|
|
|
|
|
$(DOCKER_PLATFORM_MONITOR)_CONTAINER_NAME = pmon
|
|
|
|
$(DOCKER_PLATFORM_MONITOR)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_PLATFORM_MONITOR)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2017-02-07 02:33:20 -06:00
|
|
|
|
|
|
|
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += sensors:/usr/bin/sensors
|