User Tools

Site Tools


wiki:docker_troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:docker_troubleshooting [2023/12/01 13:04] – add No internet access paragraph antisawiki:docker_troubleshooting [2025/04/10 12:25] (current) – [Containers lose access to internet suddenly] update docker version antisa
Line 85: Line 85:
  
 =====   stderr: 'failed to solve: failed to compute cache key: failed to calculate checksum ... no such file or directory' ===== =====   stderr: 'failed to solve: failed to compute cache key: failed to calculate checksum ... no such file or directory' =====
-Make sure that the files (app files, folders etc.) that the Dockerfile is suppose to copy are in the project root directory, where the Dockerfile file is (or docker compose file).+Make sure that the files (app files, folders etc.) that the Dockerfile is suppose to copy are in the project root directory, where the Dockerfile file is (or docker compose file). Also check ''.dockerignore''
  
 ===== No internet access when building an image ===== ===== No internet access when building an image =====
Line 132: Line 132:
   * ansible 2.9.27   * ansible 2.9.27
   * docker 24.0.7   * docker 24.0.7
 +
 +
 +===== Containers lose access to internet suddenly =====
 +Try docker version downgrade. I had issues with version 5:28.0.4-1~debian.11~bullseye. Downgrading to 23.0.1 seems to have resolved the problem.
 +
 +==== Tested on ====
 +  * Debian 11
  
 ====== See also ====== ====== See also ======
wiki/docker_troubleshooting.1701435877.txt.gz · Last modified: 2023/12/01 13:04 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki