From ae31113fd1a8344dd7f241243b81c7ec374f7bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ei=C3=9Fler?= Date: Tue, 8 Oct 2024 12:51:23 +0200 Subject: [PATCH 1/2] Add error hint --- tools/docker/edge/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/docker/edge/README.md b/tools/docker/edge/README.md index 441b234c9a4..f2f16caeda2 100644 --- a/tools/docker/edge/README.md +++ b/tools/docker/edge/README.md @@ -35,4 +35,9 @@ docker build . -t openems_edge -f tools/docker/edge/Dockerfile ``` - *for UI Image see [ui/README.md](../ui/README.md)* \ No newline at end of file + *for UI Image see [ui/README.md](../ui/README.md)* + + Info: If you get the following error while building the Docker image try closing the Eclipse IDE and running the build again. + ``` + ERROR: failed to solve: error from sender: context canceled + ``` From 6f51446ea5587d3abdbc5886135b6eeac765e97d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ei=C3=9Fler?= Date: Tue, 8 Oct 2024 16:09:57 +0200 Subject: [PATCH 2/2] Improve problem and solution description --- tools/docker/backend/README.md | 6 ++++++ tools/docker/edge/README.md | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/tools/docker/backend/README.md b/tools/docker/backend/README.md index 259f8b5c14d..a785852113b 100644 --- a/tools/docker/backend/README.md +++ b/tools/docker/backend/README.md @@ -78,3 +78,9 @@ ``` *for UI Image see [ui/README.md](../ui/README.md)* + +# Common Problems and Solutions +``` +ERROR: failed to solve: error from sender: context canceled +``` +When building the Docker image this error may occur because another program is accessing the project files. Try closing these programs (e.g. Eclipse IDE) and run the build command again. \ No newline at end of file diff --git a/tools/docker/edge/README.md b/tools/docker/edge/README.md index f2f16caeda2..2cce0d4d245 100644 --- a/tools/docker/edge/README.md +++ b/tools/docker/edge/README.md @@ -37,7 +37,9 @@ *for UI Image see [ui/README.md](../ui/README.md)* - Info: If you get the following error while building the Docker image try closing the Eclipse IDE and running the build again. - ``` - ERROR: failed to solve: error from sender: context canceled - ``` +# Common Problems and Solutions +``` +ERROR: failed to solve: error from sender: context canceled +``` +When building the Docker image this error may occur because another program is accessing the project files. Try closing these programs (e.g. Eclipse IDE) and run the build command again. +