Disk usage discrepancy?

If you are adventurous you can set the log level to INFO, and override the docker container’s custom_entrypoint to filter out the stuff you don’t want.

For example, you can create a copy of the custom_entrypoint file, and use a docker mount (-v) to override the container’s version. Below you edit the file to filter out piecestore and collector:

#  sed -i \
#  "s#^command=/app/storagenode\$#command=/app/storagenode run ${SNO_RUN_PARAMS} ${*}#" \
#  /etc/supervisor/supervisord.conf
  sed -i \
  "s#^command=/app/storagenode\$#command=/bin/bash -c '/app/storagenode run ${SNO_RUN_PARAMS} ${*} 2>\&1 | grep -v -e piecestore -e collector'#" \
  /etc/supervisor/supervisord.conf

As always for container mods do at your own risk.

2 Likes