Added a command in Dockerfile to install apt-utils to suppress the warning debconf: delaying package configuration, since apt-utils is not installed which was coming whenever a apt-get command was made in the container shell. Though this log line seems to be harmless (tried the collector without installing it and it worked fine, and also made some google search), but still added to avoid this log. It is adding an overhead of about 1mb in the image. And it was installed by default in the previous image (Ubuntu 14.04 base image).
The extra space in one of keys of the associative array seemed to be causing some issue. So removed that.
TESTING:
Tested the collector by updating the sumo-sources.json to ingest Docker logs, Docker Stats, Local file, TCP/UDP data (by using netcat utility), and running the container, and verifying the logs on Long.
--force-yes
flag has been deprecated. And as suggested in https://manpages.debian.org/stretch/apt/apt-get.8.en.html , replaced by--allow-downgrades --allow-remove-essential --allow-change-held-packages
Added a command in
Dockerfile
to installapt-utils
to suppress the warningdebconf: delaying package configuration, since apt-utils is not installed
which was coming whenever aapt-get
command was made in the container shell. Though this log line seems to be harmless (tried the collector without installing it and it worked fine, and also made some google search), but still added to avoid this log. It is adding an overhead of about 1mb in the image. And it was installed by default in the previous image (Ubuntu 14.04 base image).The extra space in one of keys of the associative array seemed to be causing some issue. So removed that.
TESTING: Tested the collector by updating the
sumo-sources.json
to ingest Docker logs, Docker Stats, Local file, TCP/UDP data (by usingnetcat
utility), and running the container, and verifying the logs on Long.