Package: cadvisor Version: 0.27.1+dfsg-1 Please consider changing the systemd unit file as follows:
--- debian/cadvisor.service.orig 2018-01-12 10:25:25.808668679 +0100 +++ debian/cadvisor.service 2018-01-11 09:55:39.976938967 +0100 @@ -2,6 +2,8 @@ Description=cAdvisor Documentation=man:cadvisor Documentation=https://github.com/google/cadvisor +After=docker.service +Requires=docker.service [Service] EnvironmentFile=/etc/default/cadvisor @@ -14,7 +16,7 @@ --storage_driver_secure=${CADVISOR_STORAGE_DRIVER_SECURE} \ --storage_driver_user=${CADVISOR_STORAGE_DRIVER_USER} \ --logtostderr=${CADVISOR_LOG_TO_STDERR} \ - ${DAEMON_ARGS} + $DAEMON_ARGS [Install] WantedBy=multi-user.target 1. start after docker 2. don't pass DAEMON_ARGS var from defaults as single argument, but split it by spaces.