Problems and Solutions¶
This section will offer solutions to known issues.
Do You Have Another Problem?¶
Have you encountered a problem that is not documented? Create an issue 🔗. Chances are if you are having an issue someone else will encounter the same issue. Help the community and help us document the issues to improve ADORe. We are eager to help you!
Problem: build fails with "ERROR exporting to image"¶
Solution: Clean your docker build cache¶
Layer cache from docker can become stale resulting in docker build . failures.
To fix this clean your docker cache with the following command:
Problem: Docker build fails with various cache-related errors¶
Other symptoms include:
- DNS resolution failures during builds
- Random package download timeouts
- Network connectivity errors
- Stale package lists causing dependency conflicts
Solution: Clear Docker build cache systematically¶
Docker's BuildKit cache mounts can become stale when package repositories are updated between builds, WiFi networks change, or after system updates. Follow these steps in order:
Step 1: Clear BuildKit cache (most effective)
Step 2: If problem persists, restart Docker daemon
Problem: Docker build fails with registry DNS lookup timeouts¶
This typically occurs after: - Switching WiFi networks - Connecting/disconnecting from VPN - Network interface changes - System sleep/wake cycles - Router/DNS server changes
Docker's internal networking can retain stale DNS configurations that prevent it from resolving external registry addresses.
Solution: Restart Docker daemon to refresh network configuration¶
Docker daemon caches network configuration and DNS settings. When your network environment changes, Docker may still try to use outdated network routes and DNS servers.
Problem: System crashes or freezes during ADORe build¶
When running make build, the build process may consume too many resources
on systems with limited CPU or memory. By default, ADORe uses parallel builds,
which can overwhelm low-resource systems and lead to crashes, freezes, or the
build being killed by the operating system.
Solution: Use single-core builds¶
To prevent resource exhaustion, disable parallel builds. You can do this in two ways:
Option 1: Modify adore.env
Set the build variable in the adore.env file to disable parallel builds.
Option 2: Use provided make target
Run the single-core build target(inside the ADORe CLI):
Problem: Build exits with undefined targets¶
Build fails with missing or undefined targets or directories:
The ADORe repositories uses git submodules, if they fail to clone or update this will cause other activities to fail.
Solution:¶
Verify that the effected submodule directory is not empty. The following is an example of an uninitialized submodule which will cause a build failure:
- Try updating the submodules:
The submodule should be populated with files after initializing: