-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error trying to build grafana container #7061
Comments
I can put a PR to fix this, just need to properly setup my env to run the E2E tests |
We might need to clarify this in our docs, the grafana container you tried to build is meant for publishing to dockerhub during release, not for local development. We set the build context in CI, you could run the same command locally though using buildx lodestar/.github/workflows/publish-stable.yml Lines 157 to 163 in a7286bd
For local development, I would recommend to use docker-compose.local_dev.sh |
Oh I see, thanks for clarifying that. I was following this guide so I'm not sure if that can be considered "official" documentation. |
It's not part of Lodestar docs but we should probably update the metrics part cc @philknows |
Oof, this is a severely outdated guide that I no longer maintain. Just out of curiousity, where did you find the link to this guide? I want to make sure it's not linked in many places anymore. If you did find it useful though, perhaps it makes sense to do an updated version but within our official documentation so it's updated for today's use. |
@philknows I got the link from ethereum.org 🤦 see here on the lodestar section, second link: Install Lodestar software by compiling it or downloading the Docker image. Learn more in docs(opens in a new tab) and more comprehensive setup guide(opens in a new tab). |
Oh wow, thanks for pointing this out. Maybe the best interim solution is to update the V3 guide to fix up the metrics and then migrate this to our official docs and PR the change to ethereum.org then. Thanks for notifying! |
Glad it was useful @philknows! |
I've updated this setup, but likely won't publicize it too far if we just include it as a section in our docs as a guide. Haven't tested all combinations yet, so use at your own risk! |
While trying to build the grafana container using the provided files in the lodestar repository, I get the following error:
I believe the issue is in the following line of the docker/grafana/Dockerfile file.
The
COPY --from=dashboards
syntax is mainly used during a multi-stage build, that's why it fails with the message of " docker.io/library/dashboards:latest: pull access denied, repository does not exist or may require authorization"Steps to reproduce
1- Delete any previous lodestar-grafana images
sudo docker rmi lodestar-grafana Untagged: lodestar-grafana:latest Deleted: sha256:0ddee6fbd6a27951a9c9c2b00313e600d733b76d9ee60181a613f712c1074edf
2- Start the grafana service
~/lodestar$ sudo docker compose up -d grafana
The text was updated successfully, but these errors were encountered: