spryker / docker-sdk

Spryker Commerce OS - Docker SDK
https://spryker.com
Other
36 stars 46 forks source link

RUN /usr/bin/install -d -m 777 /var/run/opcache/debug - Permission denied #312

Closed RobertSmolarczyk closed 2 years ago

RobertSmolarczyk commented 2 years ago

Which release, branch or hash of Docker SDK are you using?

d72ae2fa0c73bf6428b19e5a8d36840693c2c35c (HEAD -> origin/master, tag: 1.42.1)

Which operating system (platform/version/architecture) are you using?

macOs Monterey

What is the issue that you're experiencing?

Running docker/sdk up:

RUN /usr/bin/install -d -m 777 /var/run/opcache/debug:

6 0.187 /usr/bin/install: cannot create directory '/var/run/opcache': Permission denied

What are the steps to reproduce the issue?

Running docker/sdk up

What is the expected result of these steps in the absence of the issue?

local environment should run

What is the actual result?

What possible solutions and/or workarounds for the issue do you see?

Is there any other information that might be helpful?

RobertSmolarczyk commented 2 years ago

Output during this step when running up:

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them [+] Building 0.6s (8/9) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 244B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => resolve image config for docker.io/docker/dockerfile:experimental 0.2s => CACHED docker-image://docker.io/docker/dockerfile:experimental@sha256:600e5c62eedff338b3f7a0850beb7c05866e0ef27b2d2e8c02aa468e78496ff5 0.0s => [internal] load metadata for docker.io/library/spryker_b2b_dev_cli:dev 0.0s => CACHED [1/3] FROM docker.io/library/spryker_b2b_dev_cli:dev 0.0s => [internal] load build context 0.0s => => transferring context: 1.95kB 0.0s => ERROR [2/3] RUN /usr/bin/install -d -m 777 /var/run/opcache/debug

zhaklinab commented 2 years ago

I have same issue.

RobertSmolarczyk commented 2 years ago

Just update the spryker sdk to the latest version(1.47.0). Clear your docker image cache and try the install again.

That worked on my machine.

alexanderM91 commented 2 years ago

Hey @zhaklinab, did you have a chance to check it out? Is it still reproducible?

zhaklinab commented 2 years ago

Works with the new version. Thank you!