Hi, since I couldn't find any information on my pr...
# docker
v
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
Copy code
*** 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?
m
Usually when this happens
docker/sdk up
was not ran
v
That's exactly where this comes up 😉
h
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
Copy code
docker/sdk up -v
v
Thanks for your suggestions, btw 🙂
Copy code
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.
also no change when I put the docker dir into the shop dir
h
What version/release/branch of docker/sdk do you use?
v
1.6.3 - to be honest, I just copied the commands from the current documentation.
So no modifications or deviations there
h
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?
v
Yes, I can, will do as soon as I'm out of my current meeting 🙂
Copy code
=> [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
after bootstrapping with sdk master branch
docker up yields the pasted result
Ok, this was due to having the docker stuff outside the shop dir - infrastructural stuff like docker sdk should be placed outside development 😕
h
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.
v
Valid point, too.