async function getContainerIdFromCidFile() {
  try {
    // We try if the cidfile exist in the container
    await fs.promises.access(CIDFILE_FILE_PATH_IN_CONTAINER, fs.constants.F_OK);
    // if yes, we read it
    const containerId = await fs.promises.readFile(CIDFILE_FILE_PATH_IN_CONTAINER, 'utf-8');
    // we return the containerId trimed, just in case
    return containerId.trim();
  } catch (e) {
    // container id not found return undefined
    return undefined;
  }
}
@description Returns the containerId defined on cidfile.
@returns {Promise} Resolve with container id or undefined.
@example
const containerId = await getContainerIdFromCidFile();