Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Jon,
Thank you for reaching out with your issue. The error you’re encountering, InvalidStorageDriverError, indicates that the Docker storage driver ‘overlayfs’ is not supported by TorizonCore Builder. Instead, the tool requires the ‘overlay2’ storage driver.
This issue might have arisen due to a change in your Docker configuration, possibly influenced by a recent Windows update or Docker update.
To resolve this, you need to change the Docker storage driver to ‘overlay2’. Here’s how you can do it:
Open Docker Settings:
Right-click on the Docker icon in your system tray and select ‘Settings’.
Change the Storage Driver:
Navigate to the ‘Docker Engine’ section.
You will see a JSON configuration file. Look for the "storage-driver" setting.
Change its value to "overlay2". If this setting is not present, you can add it like this:
{
"storage-driver": "overlay2"
}
Apply Changes:
Save the changes and restart Docker for the new settings to take effect.
Verify the Change:
After Docker restarts, you can verify the storage driver by running the command docker info in your terminal. Look for the ‘Storage Driver’ line to ensure it says ‘overlay2’.
Once you have made these changes, try building your project again with TorizonCore Builder. This should resolve the error and allow your build to proceed successfully.
If you continue to experience issues, ensure that your Docker and WSL installations are up to date, as compatibility improvements are frequently released.
I hope this helps! If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem:
It seems like this may have been a compatibility issue between Torizon Core Builder and Windows Docker Desktop when running under WSL2. I was able to build successfully after reverting Windows Docker Desktop to v4.34.1, having seen the problems when I was running the latest version (v.4.36.0).