Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

could not find compass docker image #126

Closed
allenling opened this issue Jun 11, 2019 · 6 comments
Closed

could not find compass docker image #126

allenling opened this issue Jun 11, 2019 · 6 comments

Comments

@allenling
Copy link

when i run 01_calculate_layers.sh, there is a error:

docker: Error response from daemon: pull access denied for iota/compass/docker, repository does not exist or may require 'docker login'.

and i had login already, and i could not find compass image in docker hub, so what did i miss?

@allenling
Copy link
Author

sry, i got it, what happen to me!

@karimodm
Copy link
Contributor

karimodm commented Jun 12, 2019

Hi @allenling ! What was the problem? Is it worth sharing your experience?

@allenling
Copy link
Author

Hi @allenling ! What was the problem? Is it worth sharing your experience?

thanks your reply!

it`s embarrassed, i though i need to pull the compass image, and suddenly i realize that i just building it!!!

and now, i can run my private network

@sadmanamin
Copy link

Hello @allenling , I am also facing the same problem. Will you please share how you solved the problem? Thank You!

@allenling
Copy link
Author

allenling commented Aug 6, 2019

@sadmanamin sure!

  1. you need bazel 0.18 to build compass, see this https://github.com/iotaledger/compass/issues/135

  2. then build coordinator and layers_calculator binary and jar

    bazel build //compass:coordinator
    bazel build //compass:layers_calculator

  3. build coordinator and layers_calculator local docker image

    bazel build //docker:coordinator
    bazel build //docker:layers_calculator
    bazel run //bazel run //docker:coordinator
    bazel run //bazel run //docker:layers_calculator

    docker image list you will see all docker images

    now you build coordinator and layers_calculator locally, do not need to pull them from cloud

  4. finally, follow HOWTO_private_tangle.md, run sh files

hope that help

@allenling
Copy link
Author

oh, maybe you pull gcr java base image timeout, just check how to pull image from google cloud

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants