You are sharing $HOME into /share in the Docker container but the user that InSpec runs under in the container is root so its home directory is /root which means that ssh will look for keys under /root/.ssh