Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using the "docker-compose up -d apache2" command to encountered "docker.io/laradock/workspace:latest-: not found" error #3476

Open
Twinkle0613 opened this issue Nov 16, 2023 · 0 comments

Comments

@Twinkle0613
Copy link

Twinkle0613 commented Nov 16, 2023

I encountered an issue while attempting to run Laradock on my MacBook M2 Pro (Sonoma 14.1.1) using the "docker-compose up -d apache2" command. The error message displayed was "failed to solve: laradock/workspace:latest-: docker.io/laradock/workspace:latest-: not found."

Upon investigation, I identified that the problem might be related to the inability of the "PHP_VERSION" in the ".env" file to pass the value (7.4) to the "LARADOCK_PHP_VERSION" variable in the "workspace/Dockerfile." This discrepancy seems to be the root cause of the issue. It's worth noting that I am using the original Laradock configuration without any modifications.

Interestingly, when I attempted the same command on my MacBook Air M1 (Sonoma 14.1), it executed successfully without encountering any problems.

I am seeking assistance in resolving this issue and would appreciate any insights or solutions that could help address the problem.

This is the error
Screenshot 2023-11-17 at 2 42 46 AM

"Docker Version" (I'm using latest docker version)
image

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

No branches or pull requests

1 participant