Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi, since I couldn't find any information on my problem in the older coversations/questions: I've go

Options
U01AF5K7U0K
U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet

Hi, since I couldn't find any information on my problem in the older coversations/questions:
I've got a linux (mint) setup, complete with docker & compose.
The bootstrap command successfully finished and thereafter I get a

*** DEVELOPMENT MODE
Unable to find image 'spryker_b2b_dev_cli:dev' locally
docker: Error response from daemon: pull access denied for spryker_b2b_dev_cli, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

Anyone encountered this before?

Comments

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 🧑🏻‍🚀 - Cadet
    Options

    Usually when this happens docker/sdk up was not ran

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options

    That's exactly where this comes up 😉

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    edited September 2020
    Options

    Looking at *** DEVELOPMENT MODE message… It means the error is risen right at the beginning. However, it should build images before the usage.

    Please, try

    docker/sdk up -v
    
  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options

    Thanks for your suggestions, btw 🙂

     maschmann@marvin  ~/git/b2b-demo-shop  ➦ 522e920fc ●  ../docker/sdk up -v
    *** DEVELOPMENT MODE
    Checking if anything should be built
    Unable to find image 'spryker_b2b_dev_cli:dev' locally
    docker: Error response from daemon: pull access denied for spryker_b2b_dev_cli, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
    See 'docker run --help'.
    

    I already did the bootstrap stuff successfully - no errors there.

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options

    also no change when I put the docker dir into the shop dir

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

    What version/release/branch of docker/sdk do you use?

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options

    1.6.3 - to be honest, I just copied the commands from the current documentation.

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options

    So no modifications or deviations there

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

    I have not encountered such behavior. And I have no assumptions on a root cause. The script is pretty straight.

    Would you be able to try docker/sdk master?

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options

    Yes, I can, will do as soon as I'm out of my current meeting 🙂

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options
     => [2/3] RUN usermod -u 1000 spryker && find / -user 1000 -exec chown -h spryker {}  || true;                     0.3s
     => ERROR [3/3] COPY /home/maschmann/git/docker/deployment/default/context/php/conf.d/91-opcache-dev.ini /usr/loc  0.0s
    ------
    
    
      [3/3] COPY /home/maschmann/git/docker/deployment/default/context/php/conf.d/91-opcache-dev.ini /usr/local/etc/php/conf.d:
    
    
    ------
    failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = failed to build LLB: failed to compute cache key: failed to walk /var/lib/docker/tmp/buildkit-mount179461269/home/maschmann/git/docker/deployment/default/context/php/conf.d: lstat /var/lib/docker/tmp/buildkit-mount179461269/home/maschmann/git/docker/deployment/default/context/php/conf.d: no such file or directory
    
  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options

    after bootstrapping with sdk master branch

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options

    docker up yields the pasted result

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options

    Ok, this was due to having the docker stuff outside the shop dir - infrastructural stuff like docker sdk should be placed outside development 😕

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

    I understand your point. However, the way we built docker/sdk is quite different. You can have as many projects as you want, and each project can use its own deployment. It is quite easier to manage projects when everything is inside it, including infrastructure stuff.

    Usually we use submodule to tie project to the docker/sdk that helps us to develop infrastructural tools with great efficiency. Project configuration is coupled with docker/sdk and we definitely need the tie.

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 🧑🏻‍🚀 - Cadet
    Options

    Valid point, too.