Checksum#
The checksum test generates a 64 character hash to verify that the notebook’s container image is correct.
It compares an existing hash inside /base/config.yml
with a locally generated hash-generated sum using the command:
find / -not \( -path /proc -prune \) -not \( -path /sys -prune \) -type f -exec stat -c '%n %a' {} + | LC_ALL=C sort | sha256sum | cut -c 1-64
This command traverses through the file system of the user’s container, excluding /proc
and /sys
directories. For all other directory paths, the name and permissions are used to calculate the checksum.
In the event of an checksum failure, please verify that:
The checksum in
/base/config.yml
is up-to-date with the latest version of the container.No additional directrory or permission modifications have been made since the last generated checksum.
This page was written by: Jonathan Mikalov