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

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

    Usually when this happens docker/sdk up was not ran

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 πŸ§‘πŸ»β€πŸš€ - Cadet

    That's exactly where this comes up πŸ˜‰

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2020

    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

    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

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

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 πŸ§‘πŸ»β€πŸš€ - Cadet

    So no modifications or deviations there

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    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

    Yes, I can, will do as soon as I'm out of my current meeting πŸ™‚

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 πŸ§‘πŸ»β€πŸš€ - Cadet
     => [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

    after bootstrapping with sdk master branch

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 πŸ§‘πŸ»β€πŸš€ - Cadet

    docker up yields the pasted result

  • U01AF5K7U0K
    U01AF5K7U0K Posts: 12 πŸ§‘πŸ»β€πŸš€ - Cadet

    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

    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

    Valid point, too.