You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, after installing qemu-user support, the daemon needs to be restarted for it to detect the support again. This is because there is a cache to avoid running the relatively costly detection algorithm again.
I think there is a version that could work for both cases. We could implement SupportedPlatfroms(resetCache) and ResetCache(platform). If you run something like buildctl debug workers we would always rescan the platforms support. If you build for a specific platform then if it is supported we would just return true, if it is not supported we would reset cache for that specific platform. Then 99% of the builds that do not return an error would still keep using cache.
@jingxiaolu Yes. But more importantly, there is a rescan for a specific platform in the beginning of the build request if requested platform is not already supported.
Currently, after installing
qemu-user
support, the daemon needs to be restarted for it to detect the support again. This is because there is a cache to avoid running the relatively costly detection algorithm again.I think there is a version that could work for both cases. We could implement
SupportedPlatfroms(resetCache)
andResetCache(platform)
. If you run something likebuildctl debug workers
we would always rescan the platforms support. If you build for a specific platform then if it is supported we would just return true, if it is not supported we would reset cache for that specific platform. Then 99% of the builds that do not return an error would still keep using cache.related docker/buildx#208
The text was updated successfully, but these errors were encountered: