Skip to main content

Development

Using Docker – docker-index.exe High CPU and Disk Usage

Sittipol Sukuna 1458222599 Istock

I recently updated Docker Desktop to version 4.16.3. My system ran much slower than I am used to when running docker. My first reaction is to open task manager and see what is going on with my system. Docker Desktop is using 81% of my CPU!!!?? Expanding the item, I notice the culprit is docker-index.exe.

Using Docker Index Exe High Usage

This process is part of an experimental feature which is now enabled by default. You can disable this feature in the settings menu for Docker Desktop. Click on the tab for features in development then experimental features section. Uncheck the boxes for access experimental features as well as enable background SBOM indexing. Click the box to apply changes and restart.

Using Docker Disable Experimental Features

As you can see, my system returned to the expected level of performance. Docker Desktop also significantly reduced the amount of CPU usage.

Using Docker No Docker Index Process

Even after disabling the indexer, I noticed that my hard drive was running low on space. The indexer stored a large amount of data in my C:\users\<user_folder>\AppData\Local\Temp\docker-index folder.

Using Docker Docker Index Disk Usage

I tried to delete the data using the disk clean up drive tool wizard. But the folder still remained. I manually deleted the folder with no issue and my system reported an increased amount of available space.

If you want to learn more about docker, check out my series Docker Bootcamp.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Eric Sanner, Solutions Architect

More from this Author

Categories
Follow Us