Docker compose doesnt work

I don’t understand how this damn Docker works and why it’s even needed; it only complicates life. I write docker compose build, and it throws some damn error at me.

C:\Users\Igor\Desktop\www>docker-compose build
time="2025-01-03T01:49:38+01:00" level=warning msg="C:\\Users\\Igor\\Desktop\\www\\docker-compose.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion"
[+] Building 0.2s (1/1) FINISHED                                                                   docker:desktop-linux
 => [web internal] load build definition from Dockerfile                                                           0.1s
 => => transferring dockerfile: 12.52kB                                                                            0.0s
failed to solve: Internal: Internal: Internal: stream terminated by RST_STREAM with error code: INTERNAL_ERROR

I’ve already tried everything: updating, restarting, running other commands. ChatGPT is already tired of answering me, but I still don’t understand how it works or why it’s needed. Help me—how do I run my projects?

C:\Users\Igor\Desktop\www>docker-compose up
[+] Running 24/24
 ✔ redis Pulled                                                                                                              36.8s
   ✔ e0b2e54213f5 Download complete                                                                                           0.9s
   ✔ 47cee545c70a Download complete                                                                                           3.2s
   ✔ d334c6665cc1 Download complete                                                                                           1.4s
   ✔ 4f4fb700ef54 Download complete                                                                                           0.9s
   ✔ 4c9c306fe0ac Download complete                                                                                           1.0s
   ✔ fd674058ff8f Download complete                                                                                          19.5s
   ✔ f3615eb0792b Download complete                                                                                           0.9s
   ✔ 76f0f8a4aae4 Download complete                                                                                           0.9s
 ✔ mongodb Pulled                                                                                                            58.9s
   ✔ 9284108c06f8 Download complete                                                                                           1.0s
   ✔ e9869afb5187 Download complete                                                                                           1.2s
   ✔ 17351a831ef1 Download complete                                                                                           1.0s
   ✔ add2cfa32b4d Download complete                                                                                           1.0s
   ✔ de44b265507a Download complete                                                                                          20.2s
   ✔ 2613644e011d Download complete                                                                                          41.1s
   ✔ 0d3422d31c84 Download complete                                                                                           1.8s
   ✔ 05cc0f1cded4 Download complete                                                                                           1.0s
 ✔ neo4j Pulled                                                                                                              39.3s
   ✔ 8914ab5728ab Download complete                                                                                           1.4s
   ✔ 6c87eefc1f42 Download complete                                                                                           7.0s
   ✔ c469517778c8 Download complete                                                                                          33.9s
   ✔ 8e98dd43828a Download complete                                                                                           1.6s
   ✔ 04493936050d Download complete                                                                                          18.9s
[+] Building 0.1s (1/1) FINISHED                                                                              docker:desktop-linux
 => [web internal] load build definition from Dockerfile                                                                      0.0s
 => => transferring dockerfile: 12.52kB                                                                                       0.0s
failed to solve: Internal: Internal: Internal: stream terminated by RST_STREAM with error code: INTERNAL_ERROR

If you don’t understand how this “damn” Docker works, then you probably need more learning. It takes time. On the other hand, if you don’t understand why you need it, maybe you don’t need it. Try to avoid it and when it will be hard, you will know more.

Regarding the issue, I found this older topic

I couldn’t explain it then, I can’t explain it now, but it seems the problem was caused by cloning the source code wrong. Windows and Linux line endings are different, and on Windows we need to be careful what and how we clone. You also use Docker Desktop, not Docker CE, so there is an extra layer to be able to run Linx containers on Windows. I don’t know if that matters in this issue. I never saw this message personally.

For Docker basics, I can recommend the following only if you are interested or you need it for work

Recommended links to learn the basics and concepts:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.